Home
last modified time | relevance | path

Searched refs:hInst (Results 1 – 25 of 240) sorted by relevance

12345678910

/reactos/modules/rostests/win32/user32/drawcaption/
H A Dcapicon.c25 HINSTANCE hInst; variable
42 hIcon = LoadIcon(hInst, MAKEINTRESOURCE(ID_ICON2SM)); in WndProc()
44 hIcon = LoadIcon(hInst, MAKEINTRESOURCE(ID_ICON2BIG)); in WndProc()
93 hInst = GetModuleHandle(NULL); in wmain()
99 wcx.hInstance = hInst; in wmain()
102 if(testnum<5)wcx.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(ID_ICON1BIG)); in wmain()
104 wcx.hIconSm = LoadIcon(hInst, MAKEINTRESOURCE(ID_ICON1SM)); in wmain()
123 hInst, in wmain()
129 UnregisterClass(WndClass, hInst); in wmain()
143 UnregisterClass(WndClass, hInst); in wmain()
H A Ddrawcap.c25 HINSTANCE hInst; variable
215 hInst = GetModuleHandle(NULL); in wmain()
242 wcx.hInstance = hInst; in wmain()
245 if(argc > 2) wcx.hIconSm = LoadIcon(hInst, MAKEINTRESOURCE(ID_ICON1SM)); in wmain()
265 hInst, in wmain()
271 UnregisterClass(CaptWndClass, hInst); in wmain()
287 UnregisterClass(CaptWndClass, hInst); in wmain()
/reactos/base/applications/taskmgr/
H A Dendproc.c32 LoadStringW(hInst, IDS_MSG_UNABLETERMINATEPRO, szTitle, 256); in ProcessPage_OnEndProcess()
33 LoadStringW(hInst, IDS_MSG_CLOSESYSTEMPROCESS, strErrorText, 256); in ProcessPage_OnEndProcess()
40 LoadStringW(hInst, IDS_MSG_WARNINGTERMINATING, strErrorText, 256); in ProcessPage_OnEndProcess()
41 LoadStringW(hInst, IDS_MSG_TASKMGRWARNING, szTitle, 256); in ProcessPage_OnEndProcess()
52 LoadStringW(hInst, IDS_MSG_UNABLETERMINATEPRO, szTitle, 256); in ProcessPage_OnEndProcess()
61 LoadStringW(hInst, IDS_MSG_UNABLETERMINATEPRO, szTitle, 256); in ProcessPage_OnEndProcess()
163 LoadStringW(hInst, IDS_MSG_UNABLETERMINATEPRO, szTitle, 256); in ProcessPage_OnEndProcessTree()
170 LoadStringW(hInst, IDS_MSG_WARNINGTERMINATING, strErrorText, 256); in ProcessPage_OnEndProcessTree()
171 LoadStringW(hInst, IDS_MSG_TASKMGRWARNING, szTitle, 256); in ProcessPage_OnEndProcessTree()
181 LoadStringW(hInst, IDS_MSG_UNABLETERMINATEPRO, szTitle, 256); in ProcessPage_OnEndProcessTree()
[all …]
H A Ddebug.c30 LoadStringW(hInst, IDS_MSG_WARNINGDEBUG, szTemp, _countof(szTemp)); in ProcessPage_OnDebug()
31 LoadStringW(hInst, IDS_MSG_TASKMGRWARNING, szTempA, _countof(szTempA)); in ProcessPage_OnDebug()
36 LoadStringW(hInst, IDS_MSG_UNABLEDEBUGPROCESS, szTemp, _countof(szTemp)); in ProcessPage_OnDebug()
44 LoadStringW(hInst, IDS_MSG_UNABLEDEBUGPROCESS, szTemp, _countof(szTemp)); in ProcessPage_OnDebug()
53 LoadStringW(hInst, IDS_MSG_UNABLEDEBUGPROCESS, szTemp, _countof(szTemp)); in ProcessPage_OnDebug()
65 LoadStringW(hInst, IDS_MSG_UNABLEDEBUGPROCESS, szTemp, _countof(szTemp)); in ProcessPage_OnDebug()
78 LoadStringW(hInst, IDS_MSG_UNABLEDEBUGPROCESS, szTemp, _countof(szTemp)); in ProcessPage_OnDebug()
H A Dtaskmgr.c20 HINSTANCE hInst; /* current instance */ variable
131 hInst = hInstance; in wWinMain()
564 LoadStringW(hInst, IDS_TAB_APPS, szTemp, 256); in OnCreate()
569 LoadStringW(hInst, IDS_TAB_PROCESSES, szTemp, 256); in OnCreate()
574 LoadStringW(hInst, IDS_TAB_PERFORMANCE, szTemp, 256); in OnCreate()
893 if (LoadStringW(hInst, nItemID, str, _countof(str))) in TaskManager_OnMenuSelect()
958 LoadStringW(hInst, IDS_MENU_LARGEICONS, szTemp, 256); in TaskManager_OnTabWndSelChange()
961 LoadStringW(hInst, IDS_MENU_SMALLICONS, szTemp, 256); in TaskManager_OnTabWndSelChange()
964 LoadStringW(hInst, IDS_MENU_DETAILS, szTemp, 256); in TaskManager_OnTabWndSelChange()
970 LoadStringW(hInst, IDS_MENU_WINDOWS, szTemp, 256); in TaskManager_OnTabWndSelChange()
[all …]
H A Daffinity.c40 LoadStringW(hInst, IDS_MSG_ACCESSPROCESSAFF, szTitle, _countof(szTitle)); in ProcessPage_OnSetAffinity()
44 DialogBoxW(hInst, MAKEINTRESOURCEW(IDD_AFFINITY_DIALOG), hMainWnd, AffinityDialogWndProc); in ProcessPage_OnSetAffinity()
70 LoadStringW(hInst, IDS_MSG_ACCESSPROCESSAFF, szTitle, _countof(szTitle)); in AffinityDialogWndProc()
122 LoadStringW(hInst, IDS_MSG_PROCESSONEPRO, strErrorText, _countof(strErrorText)); in AffinityDialogWndProc()
123 LoadStringW(hInst, IDS_MSG_INVALIDOPTION, szTitle, _countof(szTitle)); in AffinityDialogWndProc()
134 LoadStringW(hInst, IDS_MSG_ACCESSPROCESSAFF, szTitle, _countof(szTitle)); in AffinityDialogWndProc()
H A Dpriority.c23 LoadStringW(hInst, IDS_MSG_TASKMGRWARNING, szTitle, 256); in DoSetPriority()
24 LoadStringW(hInst, IDS_MSG_WARNINGCHANGEPRIORITY, szText, 260); in DoSetPriority()
33 LoadStringW(hInst, IDS_MSG_UNABLECHANGEPRIORITY, szTitle, 256); in DoSetPriority()
41 LoadStringW(hInst, IDS_MSG_UNABLECHANGEPRIORITY, szTitle, 256); in DoSetPriority()
/reactos/base/applications/msconfig/
H A Dmsconfig.c19 HINSTANCE hInst = 0; variable
94 …hToolsPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_TOOLS_PAGE), hWnd, ToolsPageWndProc); Enable… in OnCreate()
96 LoadString(hInst, IDS_MSCONFIG, szTemp, 256); in OnCreate()
100 LoadString(hInst, IDS_TAB_GENERAL, szTemp, 256); in OnCreate()
106 LoadString(hInst, IDS_TAB_SYSTEM, szTemp, 256); in OnCreate()
112 LoadString(hInst, IDS_TAB_FREELDR, szTemp, 256); in OnCreate()
118 LoadString(hInst, IDS_TAB_SERVICES, szTemp, 256); in OnCreate()
124 LoadString(hInst, IDS_TAB_STARTUP, szTemp, 256); in OnCreate()
130 LoadString(hInst, IDS_TAB_TOOLS, szTemp, 256); in OnCreate()
329 hInst = hInstance; in _tWinMain()
[all …]
H A Dtoolspage.c29 LoadString(hInst, name_id, szTemp, 256); in AddItem()
42 LoadString(hInst, descr_id, szTemp, 256); in AddItem()
84 LoadString(hInst, IDS_TOOLS_COLUMN_NAME, szTemp, 256); in ToolsPageWndProc()
90 LoadString(hInst, IDS_TOOLS_COLUMN_DESCR, szTemp, 256); in ToolsPageWndProc()
113 … LoadString(hInst, ListItems_Cmds[ListView_GetSelectionMark(hToolsListCtrl)], Ptr, 256); in ToolsPageWndProc()
114 … LoadString(hInst, ListItems_Params[ListView_GetSelectionMark(hToolsListCtrl)], szTemp2, 256); in ToolsPageWndProc()
144 LoadString(hInst, ListItems_Cmds[lpnmitem->iItem], szTemp, 256); in ToolsPageWndProc()
146 LoadString(hInst, ListItems_Params[lpnmitem->iItem], szTemp2, 256); in ToolsPageWndProc()
165 LoadString(hInst, ListItems_Cmds[lpnmitem->iItem], Ptr, 256); in ToolsPageWndProc()
166 LoadString(hInst, ListItems_Params[lpnmitem->iItem], szTemp2, 256); in ToolsPageWndProc()
/reactos/dll/cpl/desk/
H A Dmisc.c4 LengthOfStrResource(IN HINSTANCE hInst, in LengthOfStrResource() argument
11 if (hInst == NULL) in LengthOfStrResource()
20 if ((hrSrc = FindResourceW(hInst, lpName, (LPWSTR)RT_STRING)) && in LengthOfStrResource()
21 (hRes = LoadResource(hInst, hrSrc)) && in LengthOfStrResource()
41 IN HINSTANCE hInst, in AllocAndLoadString() argument
46 ln = LengthOfStrResource(hInst, in AllocAndLoadString()
55 if (!(Ret = LoadString(hInst, uID, *lpTarget, ln))) in AllocAndLoadString()
/reactos/modules/rostests/win32/user32/sysicon/
H A Dsysicon.c67 int APIENTRY wWinMain(HINSTANCE hInst, in wWinMain() argument
80 wcx.hInstance = hInst; in wWinMain()
88 …hIcon = (HICON)LoadImageW(hInst, MAKEINTRESOURCEW(100), IMAGE_ICON, 0, 0, LR_SHARED | LR_DEFAULT… in wWinMain()
99 hInst, NULL); in wWinMain()
114 hInst, NULL); in wWinMain()
131 hInst, NULL); in wWinMain()
145 hInst, NULL); in wWinMain()
161 hInst, NULL); in wWinMain()
175 hInst, NULL); in wWinMain()
193 UnregisterClassW(WndClass, hInst); in wWinMain()
/reactos/base/applications/mmc/
H A Dmisc.c23 LengthOfStrResource(IN HINSTANCE hInst, in LengthOfStrResource() argument
30 if (hInst == NULL) in LengthOfStrResource()
39 if ((hrSrc = FindResourceW(hInst, lpName, (LPWSTR)RT_STRING)) && in LengthOfStrResource()
40 (hRes = LoadResource(hInst, hrSrc)) && in LengthOfStrResource()
60 IN HINSTANCE hInst, in AllocAndLoadString() argument
65 ln = LengthOfStrResource(hInst, in AllocAndLoadString()
74 if (!(Ret = LoadString(hInst, uID, *lpTarget, ln))) in AllocAndLoadString()
/reactos/base/applications/regedit/
H A Dedit.c57 if (!LoadStringW(hInst, IDS_ERROR, title, ARRAY_SIZE(title))) in error_code_messagebox()
449 LoadStringW(hInst, IDS_DMA_PORT, szText, ARRAY_SIZE(szText)); in CreateResourceColumns()
578 LoadStringW(hInst, IDS_BUS_ISA, pBuffer, dwLength); in GetInterfaceType()
582 LoadStringW(hInst, IDS_BUS_EISA, pBuffer, dwLength); in GetInterfaceType()
594 LoadStringW(hInst, IDS_BUS_PCIBUS, pBuffer, dwLength); in GetInterfaceType()
598 LoadStringW(hInst, IDS_BUS_VMEBUS, pBuffer, dwLength); in GetInterfaceType()
602 LoadStringW(hInst, IDS_BUS_NUBUS, pBuffer, dwLength); in GetInterfaceType()
610 LoadStringW(hInst, IDS_BUS_CBUS, pBuffer, dwLength); in GetInterfaceType()
614 LoadStringW(hInst, IDS_BUS_MPIBUS, pBuffer, dwLength); in GetInterfaceType()
1115 LoadStringW(hInst, IDS_TYPE_DMA, pBuffer, dwLength); in GetResourceType()
[all …]
/reactos/modules/rosapps/templates/dialog/
H A Ddialog.c37 HINSTANCE hInst; variable
65 hPage1 = CreateDialog(hInst, MAKEINTRESOURCE(IDD_PAGE1), hWnd, PageWndProc1); in OnCreate()
66 hPage2 = CreateDialog(hInst, MAKEINTRESOURCE(IDD_PAGE2), hWnd, PageWndProc2); in OnCreate()
67 hPage3 = CreateDialog(hInst, MAKEINTRESOURCE(IDD_PAGE3), hWnd, PageWndProc3); in OnCreate()
152 CreateMemoryDialog(hInst, GetDesktopWindow(), "DisplayMyMessage"); in DlgProc()
192 hInst = hInstance; in WinMain()
193 …instData.hWnd = CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_TABBED_DIALOG), NULL, DlgProc, (LPARA… in WinMain()
195 hAccel = LoadAccelerators(hInst, (LPCTSTR)IDR_ACCELERATOR); in WinMain()
203 hInst = hInstance; in WinMain()
204 DialogBox(hInst, (LPCTSTR)IDD_TABBED_DIALOG, NULL, DlgProc); in WinMain()
/reactos/modules/rosapps/applications/sysutils/ctm/
H A Dctm.c57 HINSTANCE hInst; variable
304 if (LoadString(hInst, IDS_KILL_PROCESS, lpStr, 100)) in ProcessKeys()
639 if (LoadString(hInst, IDS_COLUMN_PID, lpStr, 80)) in _tmain()
644 if (LoadString(hInst, IDS_COLUMN_CPU, lpStr, 80)) in _tmain()
649 if (LoadString(hInst, IDS_COLUMN_MEM, lpStr, 80)) in _tmain()
654 if (LoadString(hInst, IDS_COLUMN_PF, lpStr, 80)) in _tmain()
683 if (!LoadString(hInst, IDS_APP_TITLE, lpTitle, 80)) in _tmain()
687 if (!LoadString(hInst, IDS_MENU, lpMenu, 80)) in _tmain()
692 if (LoadString(hInst, IDS_MENU_QUIT, lpStr, 2)) in _tmain()
696 if (LoadString(hInst, IDS_YES, lpStr, 2)) in _tmain()
[all …]
/reactos/modules/rostests/winetests/user32/
H A Dresource.c36 HINSTANCE hInst = GetModuleHandleA(NULL); in test_LoadStringW() local
73 retvalue = LoadStringW(hInst, 2, NULL, 0); in test_LoadStringW()
76 retvalue = LoadStringW(hInst, 2, NULL, 128); in test_LoadStringW()
82 HINSTANCE hInst = GetModuleHandleA(NULL); in test_LoadStringA() local
99 const int len = LoadStringA (hInst, 0, buf, bufsiz); in test_LoadStringA()
111 ret = LoadStringA(hInst, 1, buf, sizeof(buf) ); in test_LoadStringA()
113 ret2 = LoadStringA( hInst, MAKELONG( 1, 0x8000 ), buf, sizeof(buf)); in test_LoadStringA()
115 ret2 = LoadStringA( hInst, MAKELONG( 1, 0xffff ), buf, sizeof(buf)); in test_LoadStringA()
118 ret = LoadStringA(hInst, 65534, buf, sizeof(buf) ); in test_LoadStringA()
125 ret = LoadStringA(hInst, 0, buf, 0); in test_LoadStringA()
[all …]
/reactos/modules/rosapps/templates/old_wordpad/
H A Dmisc.c4 LengthOfStrResource(IN HINSTANCE hInst, in LengthOfStrResource() argument
11 if (hInst == NULL) in LengthOfStrResource()
20 if ((hrSrc = FindResourceW(hInst, lpName, (LPWSTR)RT_STRING)) && in LengthOfStrResource()
21 (hRes = LoadResource(hInst, hrSrc)) && in LengthOfStrResource()
41 IN HINSTANCE hInst, in AllocAndLoadString() argument
46 ln = LengthOfStrResource(hInst, in AllocAndLoadString()
55 if (!(Ret = LoadString(hInst, uID, *lpTarget, ln))) in AllocAndLoadString()
/reactos/dll/win32/qmgr/
H A Dqmgr_main.c41 static HINSTANCE hInst; variable
54 hInst = hinstDLL; in DllMain()
63 return __wine_register_resources(hInst); in DllRegisterServer()
68 return __wine_unregister_resources(hInst); in DllUnregisterServer()
/reactos/base/applications/dxdiag/
H A Ddxdiag.c13 HINSTANCE hInst = 0; variable
115 if (!LoadStringW(hInst, LOWORD(uId), szName, 100)) in InsertTabCtrlItem()
177 …pContext->hDialogs[0] = CreateDialogParamW(hInst, MAKEINTRESOURCEW(IDD_SYSTEM_DIALOG), pContext->h… in InitializeTabCtrl()
178 …pContext->hDialogs[1] = CreateDialogParamW(hInst, MAKEINTRESOURCEW(IDD_MUSIC_DIALOG), pContext->hT… in InitializeTabCtrl()
179 …pContext->hDialogs[2] = CreateDialogParamW(hInst, MAKEINTRESOURCEW(IDD_INPUT_DIALOG), pContext->hT… in InitializeTabCtrl()
180 …pContext->hDialogs[3] = CreateDialogParamW(hInst, MAKEINTRESOURCEW(IDD_NETWORK_DIALOG), pContext->… in InitializeTabCtrl()
181 …pContext->hDialogs[4] = CreateDialogParamW(hInst, MAKEINTRESOURCEW(IDD_HELP_DIALOG), pContext->hTa… in InitializeTabCtrl()
214 hIcon = LoadImageW(hInst, MAKEINTRESOURCEW(IDI_APPICON), IMAGE_ICON, 16, 16, 0); in InitializeDxDiagDialog()
312 hInst = hInstance; in wWinMain()
314 DialogBox(hInst, MAKEINTRESOURCE(IDD_MAIN_DIALOG), NULL, DxDiagWndProc); in wWinMain()
H A Dinput.c59 LoadStringW(hInst, IDS_DEVICE_STATUS_ATTACHED, szText, sizeof(szText) / sizeof(WCHAR)); in DirectInputEnumDevCb()
61 LoadStringW(hInst, IDS_DEVICE_STATUS_MISSING, szText, sizeof(szText) / sizeof(WCHAR)); in DirectInputEnumDevCb()
63 LoadStringW(hInst, IDS_DEVICE_STATUS_UNKNOWN, szText, sizeof(szText) / sizeof(WCHAR)); in DirectInputEnumDevCb()
99 LoadStringW(hInst, IDS_NOT_APPLICABLE, szText, sizeof(szText) / sizeof(WCHAR)); in DirectInputEnumDevCb()
116 LoadStringW(hInst, IDS_OPTION_YES, szText, sizeof(szText)/sizeof(WCHAR)); in DirectInputEnumDevCb()
118 LoadStringW(hInst, IDS_NOT_APPLICABLE, szText, sizeof(szText)/sizeof(WCHAR)); in DirectInputEnumDevCb()
122 LoadStringW(hInst, IDS_NOT_APPLICABLE, szText, sizeof(szText)/sizeof(WCHAR)); in DirectInputEnumDevCb()
176 LoadStringW(hInst, IDS_DEVICE_NAME + Index, szText, sizeof(szText) / sizeof(WCHAR)); in InputPageInitListViewColumns()
191 …hResult = DirectInput8Create(hInst, DIRECTINPUT_VERSION, &IID_IDirectInput8W, (LPVOID*)&pObj, NULL… in InitializeDirectInputDialog()
/reactos/modules/rostests/tests/statst2/
H A Dstatst2.c116 HINSTANCE hInst, in RegisterAndCreateWindow() argument
123 g_hInst = hInst; in RegisterAndCreateWindow()
127 wc.hInstance = hInst; // owner of the class: mandatory in RegisterAndCreateWindow()
151 hInst, // hInstance in RegisterAndCreateWindow()
163 int WINAPI WinMain ( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdParam, int cmdShow ) in WinMain() argument
170 hwnd = RegisterAndCreateWindow ( hInst, className, "Static Control Test" ); in WinMain()
/reactos/dll/win32/mstask/
H A Dmstask_main.c30 static HINSTANCE hInst; variable
43 hInst = hinstDLL; in DllMain()
69 return __wine_register_resources( hInst ); in DllRegisterServer()
74 return __wine_unregister_resources( hInst ); in DllUnregisterServer()
/reactos/dll/win32/devmgr/
H A Dapi.cpp444 HINSTANCE hInst, in DeviceProperties_RunDLLA() argument
456 hInst, in DeviceProperties_RunDLLA()
499 HINSTANCE hInst, in DeviceProperties_RunDLLW() argument
551 HINSTANCE hInst, in DeviceManager_ExecuteA() argument
568 hInst, in DeviceManager_ExecuteA()
612 HINSTANCE hInst, in DeviceManager_ExecuteW() argument
619 return DevMgr.Create(hWndParent, hInst, lpMachineName, nCmdShow); in DeviceManager_ExecuteW()
653 HINSTANCE hInst, in DeviceProblemWizard_RunDLLA() argument
691 HINSTANCE hInst, in DeviceProblemWizard_RunDLLW() argument
/reactos/base/applications/games/spider/
H A Dspider.cpp82 int WINAPI _tWinMain(HINSTANCE hInst, HINSTANCE hPrev, LPTSTR szCmdLine, int iCmdShow) in _tWinMain() argument
90 hInstance = hInst; in _tWinMain()
93 LoadString(hInst, IDS_SPI_NAME, szAppName, sizeof(szAppName) / sizeof(szAppName[0])); in _tWinMain()
95 LoadString(hInst, IDS_SPI_ABOUT, MsgAbout, sizeof(MsgAbout) / sizeof(MsgAbout[0])); in _tWinMain()
96 LoadString(hInst, IDS_SPI_QUIT, MsgQuit, sizeof(MsgQuit) / sizeof(MsgQuit[0])); in _tWinMain()
97 LoadString(hInst, IDS_SPI_WIN, MsgWin, sizeof(MsgWin) / sizeof(MsgWin[0])); in _tWinMain()
98 LoadString(hInst, IDS_SPI_DEAL, MsgDeal, sizeof(MsgDeal) / sizeof(MsgDeal[0])); in _tWinMain()
105 wndclass.hInstance = hInst; in _tWinMain()
106 wndclass.hIcon = LoadIcon (hInst, MAKEINTRESOURCE(IDI_SPIDER)); in _tWinMain()
134 hInst, in _tWinMain()
/reactos/sdk/lib/atl/
H A Datlcore.h212 HINSTANCE SetResourceInstance(HINSTANCE hInst) in SetResourceInstance() argument
214 … return static_cast< HINSTANCE >(InterlockedExchangePointer((void**)&m_hInstResource, hInst)); in SetResourceInstance()
299 HINSTANCE hInst = _AtlBaseModule.GetHInstanceAt(0); variable
301 for (int i = 1; hInst != NULL && strRes == NULL; hInst = _AtlBaseModule.GetHInstanceAt(i++))
303 strRes = AtlGetStringResourceImage(hInst, nID, wLanguage);
304 if (strRes != NULL) return hInst;

12345678910