Multiple Function Return Types
Hello people and sorry for the simple question:
I am taking a Win32 API programming tutorial and have came across the following function definitions:
int WINAPI WinMain
--and--
LRESULT CALLBACK WndProc
Now, what i do not understand is the function definition. I know functions to be of similarity to the following:
Code:
return-type function-name(args)
{
// Some functional code
return var; // Where var is a value of type return-type
}
Please tell me if I am wrong in that thinking. Now the functions i mentioned have two words where return-type should be: ????? Why is this :confused:. Does this mean that the function can return two values or that there must be some sort of typecasting. Please help me in this simple problem
Thanks in advance for any help that you can offer,
mintsmike