; int __stdcall wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd)
_wWinMain@16 proc near
var_4= dword ptr -4
hInstance= dword ptr 4
hPrevInstance= dword ptr 8
lpCmdLine= dword ptr 0Ch
nShowCmd= dword ptr 10h
From what I can see, the last 4 variables are the parameters passed to the WinMain function. Also, the var_4 must be a int variable I declared later in the function body. Now, I have a couple of questions:
a) What is the size of a word on a 32bit windows program? 4 bytes? being a dword 8?
b) Why is var_4 set to -4? Why not start at, let's say, 0?
c) The standard procedure for defining ints in c is though
var_x = dword ptr y?
Thanks