Created
November 26, 2012 12:20
-
-
Save tuttlem/4147927 to your computer and use it in GitHub Desktop.
Simple Window - Window Proc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WndProc PROC hWin :DWORD, | |
uMsg :DWORD, | |
wParam :DWORD, | |
lParam :DWORD | |
.if uMsg == WM_CLOSE | |
.elseif uMsg == WM_DESTROY | |
invoke PostQuitMessage, NULL | |
return 0 | |
.endif | |
; call the default window proc if we didn't handle it | |
invoke DefWindowProc, hWin, uMsg, wParam, lParam | |
ret | |
WndProc ENDP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment