3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS devmgr.dll
5 * FILE: lib/devmgr/stubs.c
6 * PURPOSE: devmgr.dll stubs
7 * PROGRAMMER: Thomas Weidenmueller (w3seek@users.sourceforge.net)
8 * NOTES: If you implement a function, remove it from this file
10 * Some helpful resources:
11 * http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;815320
12 * http://www.jsiinc.com/SUBO/tip7400/rh7482.htm
13 * http://www.jsiinc.com/SUBM/tip6400/rh6490.htm
24 /***************************************************************************
26 * DeviceManager_ExecuteA
29 * Starts the Device Manager
32 * hWndParent: Handle to the parent window
33 * hInst: Handle to the application instance
34 * lpMachineName: Machine Name, NULL is the local machine
35 * nCmdShow: Specifies how the window should be shown
38 * TRUE: if no errors occured
39 * FALSE: if the device manager could not be executed
44 * - Win runs the device manager in a separate process, so hWndParent is somehow
51 DeviceManager_ExecuteA(HWND hWndParent
,
61 /***************************************************************************
63 * DeviceManager_ExecuteW
66 * Starts the Device Manager
69 * hWndParent: Handle to the parent window
70 * hInst: Handle to the application instance
71 * lpMachineName: Machine Name, NULL is the local machine
72 * nCmdShow: Specifies how the window should be shown
75 * TRUE: if no errors occured
76 * FALSE: if the device manager could not be executed
81 * - Win runs the device manager in a separate process, so hWndParent is somehow
88 DeviceManager_ExecuteW(HWND hWndParent
,
90 LPCWSTR lpMachineName
,
98 /***************************************************************************
100 * DeviceProblemWizard_RunDLLA
103 * Calls the device problem wizard
106 * hWndParent: Handle to the parent window
107 * hInst: Handle to the application instance
108 * lpDeviceCmd: A command that includes the DeviceID of the properties to be shown,
110 * nCmdShow: Specifies how the window should be shown
117 * - Win XP exports this function as DeviceProblenWizard_RunDLLA, apparently it's
118 * a typo so we additionally export an alias function
119 * - lpDeviceCmd is a string in the form of "/MachineName MACHINE /DeviceID DEVICEPATH"
120 * (/MachineName is optional). This function only parses this string and eventually
121 * calls DeviceProperties().
127 DeviceProblemWizard_RunDLLA(HWND hWndParent
,
136 /***************************************************************************
138 * DeviceProblemWizard_RunDLLW
141 * Calls the device problem wizard
144 * hWndParent: Handle to the parent window
145 * hInst: Handle to the application instance
146 * lpDeviceCmd: A command that includes the DeviceID of the properties to be shown,
148 * nCmdShow: Specifies how the window should be shown
155 * - Win XP exports this function as DeviceProblenWizard_RunDLLA, apparently it's
156 * a typo so we additionally export an alias function
157 * - lpDeviceCmd is a string in the form of "/MachineName MACHINE /DeviceID DEVICEPATH"
158 * (/MachineName is optional). This function only parses this string and eventually
159 * calls DeviceProperties().
165 DeviceProblemWizard_RunDLLW(HWND hWndParent
,
174 /***************************************************************************
176 * DeviceManagerPrintA
179 * Calls the device problem wizard
182 * lpMachineName: Machine Name, NULL is the local machine
183 * lpPrinter: Filename of the printer where it should be printed on
184 * nPrintMode: Specifies what kind of information is to be printed
185 * DEV_PRINT_ABSTRACT: Prints an abstract of system information, the parameters
186 * uNumberOfGuids, Guids are ignored
187 * DEV_PRINT_SELECTED: Prints information about the devices listed in Guids
188 * DEV_PRINT_ALL: Prints an abstract of system information and all
190 * uNumberOfGuids: Numbers of guids in the Guids array, this parameter is ignored unless
191 * nPrintMode is DEV_PRINT_SELECTED
192 * lpGuids: Array of device guids, this parameter is ignored unless
193 * nPrintMode is DEV_PRINT_SELECTED
196 * TRUE: if no errors occured
197 * FALSE: if errors occured
207 DeviceManagerPrintA(LPCSTR lpMachineName
,
218 /***************************************************************************
220 * DeviceManagerPrintW
223 * Calls the device problem wizard
226 * lpMachineName: Machine Name, NULL is the local machine
227 * lpPrinter: Filename of the printer where it should be printed on
228 * nPrintMode: Specifies what kind of information is to be printed
229 * DEV_PRINT_ABSTRACT: Prints an abstract of system information, the parameters
230 * uNumberOfGuids, Guids are ignored
231 * DEV_PRINT_SELECTED: Prints information about the devices listed in Guids
232 * DEV_PRINT_ALL: Prints an abstract of system information and all
234 * uNumberOfGuids: Numbers of guids in the Guids array, this parameter is ignored unless
235 * nPrintMode is DEV_PRINT_SELECTED
236 * lpGuids: Array of device guids, this parameter is ignored unless
237 * nPrintMode is DEV_PRINT_SELECTED
240 * TRUE: if no errors occured
241 * FALSE: if errors occured
251 DeviceManagerPrintW(LPCWSTR lpMachineName
,