Can anyone please provide me the full meaning of the following 2 lines of codes?
typedef void DLLEXPORT __stdcall (*DLL_Inquiry) (char *cDriverName, int *iDriverType, int *iDriverBUS, int *iNumberOfChannel);
DLL_Inquiry DRV_PH_Inquiry;
I know that DLLEXPORT
is to export a function from the DLL, __stdcall
is the x86 argument passing convention.
But still I am not able to get the whole meaning of these 2 lines. May be I am confused with use of function or function pointer in typedef
.
_STDCALL
is the x86 argument passing convention." There are many calling conventions for the x86.stdcall
is the one used by the Win32 API. – Michael