摘要:
DWORD dwVersion = GetVersion(); // Get the Windows version. DWORD dwWindowsMajorVersion = (DWORD)(LOBYTE(LOWORD(dwVersion))); DWORD dwWindowsMinorVersion = (DWORD)(HIBYTE(LOWORD(dwVersion))); // G... 阅读全文
摘要:
MAKEINTRESOURCE是一个资源名转换的宏, VC的定义是(winuser.h): #define MAKEINTRESOURCEA(i) (LPSTR)((ULONG_PTR)((WORD)(i))) #define MAKEINTRESOURCEW(i) (LPWSTR)((ULONG_PTR)((WORD)(i))) #ifdef UNICODE #define MAKEINTRES... 阅读全文