Hi Every One,
I have moved into Windows32 programming and have been doing some reading on __stdcall calling conventions, The problem is i'm not sure i'm fully understanding what is going on when the function like this is declared
The Function Prototype
If i'm correct in understand that this function is called by the windows operating system, and the call orders the parameters from right to left and where to parameters for this function are stored in memory, what i'm have problems with how does windows know when to call this function?.Code:
HRESULT __stdcall somefunction(parameter1,parameter2,parameter3,parameter4) ;
and where does the return value (HRESULT) go when the function returns.
Thanks everyone for reading and any help would very much appreciated