May 14th, 2010, 12:52 AM
Significance of 'return (int) msg.wParam'?
Hello. I am new to multithreading and was on my way through a simple tutorial when I ran across this line to end the primary thread.
return (int) msg.wParam;
I am used to ending my programs in 'return(0);' and was curious as to what the significance of this statement is? Is this the way a thread (using windows API) checks for a success or failure on program termination? Or is there some other reason for this statement?
Thank you in advance for the help!
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!