Skip to content
LB-- edited this page Nov 7, 2012 · 1 revision

<< Macros

#define MMF2Func WINAPI DLLExport
This macro is used as a modifier on all functions being exported from your MFX. The DLLExport portion has no significance as it is a blank macro definition (it is used as a visual marker when reading code); however, WINAPI is defined as the calling convention used by the Windows API - without it the calling convention may be incorrect, causing crashes.