In my program, under WM_DESTROY, I use PostQuitMessage(0). After my message loop, in WinMain(), I return msg.wParam. The exit code for my program however, is always -1080664280 (0xBF965F28). Is this behaviour normal? According to MSDN my exit code should be 0.