DLL_LOAD_FUNC_PREFIXNAME is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDDLL_LOAD_FUNC_PREFIXNAME

DLL_LOAD_FUNC_PREFIXNAME macro

Syntax

#define DLL_LOAD_FUNC_PREFIXNAME(dll, prefixname, name, ret_on_failure) \     do { \     HMODULE h = DLL_HANDLE_NAME(dll); \     prefixname = (DLL_FUNC_NAME(name))GetProcAddress(h, \     DLL_STRINGIFY(name)); \     if (prefixname) \     break; \     prefixname = (DLL_FUNC_NAME(name))GetProcAddress(h, \     DLL_STRINGIFY(name) DLL_STRINGIFY(A)); \     if (prefixname) \     break; \     prefixname = (DLL_FUNC_NAME(name))GetProcAddress(h, \     DLL_STRINGIFY(name) DLL_STRINGIFY(W)); \     if (prefixname) \     break; \     if (ret_on_failure) \     return false; \     } while (0)

Arguments

dll

prefixname

name

ret_on_failure

References

LocationText
windows_common.h:104
#define DLL_LOAD_FUNC_PREFIXNAME(dll, prefixname, name, ret_on_failure) \
windows_common.h:124
DLL_LOAD_FUNC_PREFIXNAME(dll, name, name, ret_on_failure)
windows_common.h:126
DLL_LOAD_FUNC_PREFIXNAME(dll, prefix##name, name, ret_on_failure)