Lines Matching refs:hInstance
28 int WINAPI WinMain( HINSTANCE hInstance,
41 if (!InitInstance (hInstance, nCmdShow))
46 hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_WCE_TPCB);
71 ATOM MyRegisterClass(HINSTANCE hInstance, LPTSTR szWindowClass)
79 wc.hInstance = hInstance;
80 wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_WCE_TPCB));
99 BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
104 hInst = hInstance; // Store instance handle in our global variable
106 LoadString(hInstance, IDC_WCE_TPCB, szWindowClass, MAX_LOADSTRING);
107 MyRegisterClass(hInstance, szWindowClass);
108 LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
112 CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL);