Lines Matching refs:hInstance
53 ATOM MyRegisterClass( HINSTANCE hInstance );
132 int APIENTRY WinMain(HINSTANCE hInstance, in WinMain() argument
149 LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); in WinMain()
150 LoadStringW(hInstance, IDC_TESTWIN32, szWindowClass, MAX_LOADSTRING); in WinMain()
151 MyRegisterClass(hInstance); in WinMain()
154 if( !InitInstance( hInstance, nCmdShow ) ) in WinMain()
159 hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_TESTWIN32); in WinMain()
193 ATOM MyRegisterClass( HINSTANCE hInstance ) in MyRegisterClass() argument
203 wcex.hInstance = hInstance; in MyRegisterClass()
204 wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_TESTWIN32); in MyRegisterClass()
209 wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); in MyRegisterClass()
224 BOOL InitInstance( HINSTANCE hInstance, int nCmdShow ) in InitInstance() argument
228 hInst = hInstance; // Instanzzugriffsnummer in unserer globalen Variable speichern in InitInstance()
231 CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); in InitInstance()