Lines Matching refs:hInstance
1509 HWND CreateMainWindow(HINSTANCE hInstance)
1520 wcex.hInstance = hInstance;
1521 wcex.hIcon = (HICON)LoadImage(hInstance, MAKEINTRESOURCE(IDI_APSRVMON),
1527 wcex.hIconSm = (HICON)LoadImage(hInstance, MAKEINTRESOURCE(IDI_APSRVMON),
1533 NULL, NULL, hInstance, NULL);
1544 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
1567 LoadString(hInstance, i, szTmp, MAX_LOADSTRING);
1570 LoadString(hInstance, IDS_APMONITORTITLE, szTmp, MAX_LOADSTRING);
1581 LoadString(hInstance, IDS_APMONITORCLASS, szTmp, MAX_LOADSTRING);
1620 g_icoStop = LoadImage(hInstance, MAKEINTRESOURCE(IDI_ICOSTOP),
1622 g_icoRun = LoadImage(hInstance, MAKEINTRESOURCE(IDI_ICORUN),
1630 g_hBmpStart = LoadImage(hInstance, MAKEINTRESOURCE(IDB_BMPRUN),
1633 g_hBmpStop = LoadImage(hInstance, MAKEINTRESOURCE(IDB_BMPSTOP),
1640 g_hInstance = hInstance;
1641 g_hwndMain = CreateMainWindow(hInstance);