windows里的变量类型
1.简单重定义windows变量
BOOL (TRUE FALSE)
INT UINT(32位,4字节)
LONG DWORD(32位,4字节)
lParam,wParam(32位,4字节)
SHORT WORD(16位,2字节)
LPSTR LPCSTR(字符串指针,可写和只读) char *和const char*
2.句柄类型
HINSTANCE of Windows ->HWND;
HINSTANCE of Instance ->HINSTANCE;
HINSTANCE of Icon ->HICON;
3结构体类型
POINT,SIZE,RECT;