CommonLib
Loading...
Searching...
No Matches
Preprocessor.h File Reference

Go to the source code of this file.

Macros

#define IMPORT_FUNC(LIBRARY_NAME, FUNCTION_NAME)
#define EXPORT_FUNC   extern "C" __declspec(dllexport)
#define NAKED_FUNC   __declspec(naked)

Macro Definition Documentation

◆ EXPORT_FUNC

#define EXPORT_FUNC   extern "C" __declspec(dllexport)

◆ IMPORT_FUNC

#define IMPORT_FUNC ( LIBRARY_NAME,
FUNCTION_NAME )
Value:
GetProcAddress(LoadLibrary(TEXT(LIBRARY_NAME)), FUNCTION_NAME)

◆ NAKED_FUNC

#define NAKED_FUNC   __declspec(naked)