Lines Matching refs:hInstance
56 ATOM MyRegisterClass(HINSTANCE hInstance);
142 int APIENTRY WinMain(HINSTANCE hInstance, in WinMain() argument
175 LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); in WinMain()
176 LoadString(hInstance, IDC_QUICKSTART, szWindowClass, MAX_LOADSTRING); in WinMain()
178 LoadString(hInstance, IDS_EXIT, szExitString, MAX_LOADSTRING); in WinMain()
179 LoadString(hInstance, IDS_TOOLTIP, szTooltipString, MAX_LOADSTRING); in WinMain()
181 MyRegisterClass(hInstance); in WinMain()
184 if (!InitInstance (hInstance, nCmdShow)) in WinMain()
189 hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_QUICKSTART); in WinMain()
219 ATOM MyRegisterClass(HINSTANCE hInstance) in MyRegisterClass() argument
229 wcex.hInstance = hInstance; in MyRegisterClass()
230 wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_QUICKSTART); in MyRegisterClass()
235 wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); in MyRegisterClass()
250 BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) in InitInstance() argument
254 hInst = hInstance; // Store instance handle in our global variable in InitInstance()
257 CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); in InitInstance()