dwScreenX = GetSystemMetrics(SM_CXSCREEN); dwScreenY = GetSystemMetrics(SM_CYSCREEN);
gSystemInfo.dwScreenX = GetSystemMetrics(SM_CXSCREEN); gSystemInfo.dwScreenY = GetSystemMetrics(SM_CYSCREEN);
BOOL InitInstance(HINSTANCE hInstance, DWORD dwCmdShow){  dwScreenX = GetSystemMetrics(SM_CXSCREEN);  dwScreenY = GetSystemMetrics(SM_CYSCREEN);  hInst = hInstance;  hWndMain = NULL;  return(TRUE);}