what does the WINAPI macro do?
-
int WINAPI function1(param); int is the return value,function1 is teh function name, then what does WINAPI do?
-
int WINAPI function1(param); int is the return value,function1 is teh function name, then what does WINAPI do?
It's a calling convention for system functions.
WINAPI
expands to _stdcall
.
Nibu thomas Software Developer
-
int WINAPI function1(param); int is the return value,function1 is teh function name, then what does WINAPI do?
It's a macro which expands to the appropriate calling convention. It's a macro so it can be defined differently on different platforms. On x86 based platforms it's
__stdcall
but on others it could be defined differently. Steve -
int WINAPI function1(param); int is the return value,function1 is teh function name, then what does WINAPI do?
maybe it is some helpful to you http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm/msmod_10.asp[^]
-
maybe it is some helpful to you http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm/msmod_10.asp[^]
thank u all!!!!! :-)