7594f85c53f318ac7ca457e77f01dabefd126815
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
22 /***************************************************************************
24 * DeviceManager_ExecuteA
27 * Starts the Device Manager
30 * hWndParent: Handle to the parent window
31 * hInst: Handle to the application instance
32 * lpMachineName: Machine Name, NULL is the local machine
33 * nCmdShow: Specifies how the window should be shown
36 * TRUE: if no errors occured
37 * FALSE: if the device manager could not be executed
42 * - Win runs the device manager in a separate process, so hWndParent is somehow
49 DeviceManager_ExecuteA(HWND hWndParent
,
59 /***************************************************************************
61 * DeviceManager_ExecuteW
64 * Starts the Device Manager
67 * hWndParent: Handle to the parent window
68 * hInst: Handle to the application instance
69 * lpMachineName: Machine Name, NULL is the local machine
70 * nCmdShow: Specifies how the window should be shown
73 * TRUE: if no errors occured
74 * FALSE: if the device manager could not be executed
79 * - Win runs the device manager in a separate process, so hWndParent is somehow
86 DeviceManager_ExecuteW(HWND hWndParent
,
88 LPCWSTR lpMachineName
,
96 /***************************************************************************
98 * DeviceProblemWizard_RunDLLA
101 * Calls the device problem wizard
104 * hWndParent: Handle to the parent window
105 * hInst: Handle to the application instance
106 * lpDeviceCmd: A command that includes the DeviceID of the properties to be shown,
108 * nCmdShow: Specifies how the window should be shown
115 * - Win XP exports this function as DeviceProblenWizard_RunDLLA, apparently it's
116 * a typo so we additionally export an alias function
117 * - lpDeviceCmd is a string in the form of "/MachineName MACHINE /DeviceID DEVICEPATH"
118 * (/MachineName is optional). This function only parses this string and eventually
119 * calls DeviceProperties().
125 DeviceProblemWizard_RunDLLA(HWND hWndParent
,
134 /***************************************************************************
136 * DeviceProblemWizard_RunDLLW
139 * Calls the device problem wizard
142 * hWndParent: Handle to the parent window
143 * hInst: Handle to the application instance
144 * lpDeviceCmd: A command that includes the DeviceID of the properties to be shown,
146 * nCmdShow: Specifies how the window should be shown
153 * - Win XP exports this function as DeviceProblenWizard_RunDLLA, apparently it's
154 * a typo so we additionally export an alias function
155 * - lpDeviceCmd is a string in the form of "/MachineName MACHINE /DeviceID DEVICEPATH"
156 * (/MachineName is optional). This function only parses this string and eventually
157 * calls DeviceProperties().
163 DeviceProblemWizard_RunDLLW(HWND hWndParent
,
172 /***************************************************************************
174 * DeviceManagerPrintA
177 * Calls the device problem wizard
180 * lpMachineName: Machine Name, NULL is the local machine
181 * lpPrinter: Filename of the printer where it should be printed on
182 * nPrintMode: Specifies what kind of information is to be printed
183 * DEV_PRINT_ABSTRACT: Prints an abstract of system information, the parameters
184 * uNumberOfGuids, Guids are ignored
185 * DEV_PRINT_SELECTED: Prints information about the devices listed in Guids
186 * DEV_PRINT_ALL: Prints an abstract of system information and all
188 * uNumberOfGuids: Numbers of guids in the Guids array, this parameter is ignored unless
189 * nPrintMode is DEV_PRINT_SELECTED
190 * lpGuids: Array of device guids, this parameter is ignored unless
191 * nPrintMode is DEV_PRINT_SELECTED
194 * TRUE: if no errors occured
195 * FALSE: if errors occured
205 DeviceManagerPrintA(LPCSTR lpMachineName
,
216 /***************************************************************************
218 * DeviceManagerPrintW
221 * Calls the device problem wizard
224 * lpMachineName: Machine Name, NULL is the local machine
225 * lpPrinter: Filename of the printer where it should be printed on
226 * nPrintMode: Specifies what kind of information is to be printed
227 * DEV_PRINT_ABSTRACT: Prints an abstract of system information, the parameters
228 * uNumberOfGuids, Guids are ignored
229 * DEV_PRINT_SELECTED: Prints information about the devices listed in Guids
230 * DEV_PRINT_ALL: Prints an abstract of system information and all
232 * uNumberOfGuids: Numbers of guids in the Guids array, this parameter is ignored unless
233 * nPrintMode is DEV_PRINT_SELECTED
234 * lpGuids: Array of device guids, this parameter is ignored unless
235 * nPrintMode is DEV_PRINT_SELECTED
238 * TRUE: if no errors occured
239 * FALSE: if errors occured
249 DeviceManagerPrintW(LPCWSTR lpMachineName
,