Lines Matching refs:func
115 #define IMPLEMENT_THUNK( module, resolve, rettype, calltype, func, params ) \ argument
116 EXTERN_C _declspec( dllexport ) FARPROC module##_##func##_Ptr; \
117 EXTERN_C rettype calltype func##_##resolve params; \
118 static rettype calltype func##_##Failure params; \
119 static _declspec ( naked ) func##_Thunk() \
121 …ResolveThunk_##resolve( &module##_##func##_Ptr, #module ".dll", #func, (FARPROC)func##_##resolve, …
122 _asm jmp [module##_##func##_Ptr] \
124 EXTERN_C _declspec( naked ) rettype calltype func params \
126 _asm jmp [module##_##func##_Ptr] \
128 EXTERN_C _declspec( dllexport ) FARPROC module##_##func##_Ptr = (FARPROC)func##_Thunk; \
129 static rettype calltype func##_##Failure params \
134 EXTERN_C rettype calltype func##_##resolve params
146 #define DEFINE_CUSTOM_THUNK( module, resolve, rettype, calltype, func, params ) \ argument
147 EXTERN_C _declspec( dllexport ) FARPROC module##_##func##_Ptr; \
148 static _declspec ( naked ) func##_Thunk() \
150 ResolveThunk_##resolve( &module##_##func##_Ptr, #module ".dll", #func ); \
151 _asm jmp [module##_##func##_Ptr] \
153 EXTERN_C _declspec( naked ) rettype calltype func params \
155 _asm jmp [module##_##func##_Ptr] \
157 EXTERN_C _declspec( dllexport ) FARPROC module##_##func##_Ptr = (FARPROC)func##_Thunk;