Lines Matching defs:hInstance
55 ATOM MyRegisterClass(HINSTANCE hInstance);
139 int APIENTRY _tWinMain(HINSTANCE hInstance,
163 LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
164 LoadString(hInstance, IDC_WINLAUNCHER, szWindowClass, MAX_LOADSTRING);
165 MyRegisterClass(hInstance);
168 if (!InitInstance (hInstance, nCmdShow))
179 hInstance, 0);
235 hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_WINLAUNCHER));
259 ATOM MyRegisterClass(HINSTANCE hInstance)
269 wcex.hInstance = hInstance;
270 wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_WINLAUNCHER));
275 wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL));
280 BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
282 hInst = hInstance; // Store instance handle in our global variable
285 CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);