ReactOS  0.4.15-dev-499-g1f31905
devmgr.h
Go to the documentation of this file.
1 #ifndef __DEVMGR__H
2 #define __DEVMGR__H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 BOOL
9 WINAPI
12  LPCSTR lpMachineName,
13  int nCmdShow);
14 
15 BOOL
16 WINAPI
19  LPCWSTR lpMachineName,
20  int nCmdShow);
21 
22 VOID
23 WINAPI
26  LPCSTR lpDeviceCmd,
27  int nCmdShow);
28 
29 VOID
30 WINAPI
33  LPCWSTR lpDeviceCmd,
34  int nCmdShow);
35 
36 int
37 WINAPI
39  LPCSTR lpMachineName,
40  LPCSTR lpDeviceID,
41  BOOL bShowDevMgr);
42 
43 int
44 WINAPI
46  LPCWSTR lpMachineName,
47  LPCWSTR lpDeviceID,
48  BOOL bShowDevMgr);
49 
50 UINT
51 WINAPI
53  IN DEVINST dnDevInst,
54  IN ULONG uProblemId,
55  OUT LPSTR lpString,
56  IN UINT uMaxString);
57 
58 UINT
59 WINAPI
61  IN DEVINST dnDevInst,
62  IN ULONG uProblemId,
63  OUT LPWSTR lpString,
64  IN UINT uMaxString);
65 
66 BOOL
67 WINAPI
69  IN LPCSTR lpMachineName OPTIONAL,
70  IN LPCSTR lpDeviceID);
71 
72 
73 BOOL
74 WINAPI
76  IN LPCWSTR lpMachineName OPTIONAL,
77  IN LPCWSTR lpDeviceID);
78 
79 VOID
80 WINAPI
83  LPCSTR lpDeviceCmd,
84  int nCmdShow);
85 
86 VOID
87 WINAPI
90  LPCWSTR lpDeviceCmd,
91  int nCmdShow);
92 
93 #define DEV_PRINT_ABSTRACT (0)
94 #define DEV_PRINT_SELECTED (1)
95 #define DEV_PRINT_ALL (2)
96 
97 BOOL
98 WINAPI
99 DeviceManagerPrintA(LPCSTR lpMachineName,
100  LPCSTR lpPrinter,
101  int nPrintMode,
102  UINT uNumberOfGuids,
103  LPGUID lpGuids);
104 
105 BOOL
106 WINAPI
107 DeviceManagerPrintW(LPCWSTR lpMachineName,
108  LPCWSTR lpPrinter,
109  int nPrintMode,
110  UINT uNumberOfGuids,
111  LPGUID lpGuids);
112 
113 INT_PTR
114 WINAPI
116  IN LPCSTR lpMachineName OPTIONAL,
117  IN LPCSTR lpDeviceID);
118 
119 INT_PTR
120 WINAPI
122  IN LPCWSTR lpMachineName OPTIONAL,
123  IN LPCWSTR lpDeviceID);
124 
125 typedef enum
126 {
131 
132 HWND
133 WINAPI
135  LPGUID lpGuid);
136 
137 HWND
138 WINAPI
140  IN LPGUID lpGuids,
141  IN UINT uNumberOfGuids,
143 
144 #define DPF_EXTENDED (0x1)
145 #define DPF_DEVICE_STATUS_ACTION (0x2)
146 
147 INT_PTR
148 WINAPI
150  IN LPCSTR lpMachineName OPTIONAL,
151  IN LPCSTR lpDeviceID OPTIONAL,
153  IN BOOL bShowDevMgr);
154 
155 INT_PTR
156 WINAPI
158  IN LPCWSTR lpMachineName OPTIONAL,
159  IN LPCWSTR lpDeviceID OPTIONAL,
161  IN BOOL bShowDevMgr);
162 
163 #ifdef UNICODE
164 #define DeviceManager_Execute DeviceManager_ExecuteW
165 #define DeviceProperties_RunDLL DeviceProperties_RunDLLW
166 #define DeviceProperties DevicePropertiesW
167 #define DeviceProblemText DeviceProblemTextW
168 #define DeviceProblemWizard DeviceProblemWizardW
169 #define DeviceProblemWizard_RunDLL DeviceProblemWizard_RunDLLW
170 #define DeviceManagerPrint DeviceManagerPrintW
171 #define DeviceAdvancedProperties DeviceAdvancedPropertiesW
172 #define DevicePropertiesEx DevicePropertiesExW
173 #else
174 #define DeviceManager_Execute DeviceManager_ExecuteA
175 #define DeviceProperties_RunDLL DeviceProperties_RunDLLA
176 #define DeviceProperties DevicePropertiesA
177 #define DeviceProblemText DeviceProblemTextA
178 #define DeviceProblemWizard DeviceProblemWizardA
179 #define DeviceProblemWizard_RunDLL DeviceProblemWizard_RunDLLA
180 #define DeviceManagerPrint DeviceManagerPrintA
181 #define DeviceAdvancedProperties DeviceAdvancedPropertiesA
182 #define DevicePropertiesEx DevicePropertiesExA
183 #endif
184 
185 #ifdef __cplusplus
186 }
187 #endif
188 
189 #endif /* __DEVMGR__H */
#define IN
Definition: typedefs.h:39
BOOL WINAPI DeviceManager_ExecuteA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpMachineName, int nCmdShow)
Definition: api.cpp:550
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
BOOL WINAPI DeviceManager_ExecuteW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpMachineName, int nCmdShow)
Definition: api.cpp:611
INT_PTR WINAPI DevicePropertiesExA(IN HWND hWndParent OPTIONAL, IN LPCSTR lpMachineName OPTIONAL, IN LPCSTR lpDeviceID OPTIONAL, IN DWORD dwFlags OPTIONAL, IN BOOL bShowDevMgr)
Definition: api.cpp:193
BOOL WINAPI DeviceManagerPrintA(LPCSTR lpMachineName, LPCSTR lpPrinter, int nPrintMode, UINT uNumberOfGuids, LPGUID lpGuids)
Definition: api.cpp:732
VOID WINAPI DeviceProperties_RunDLLA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpDeviceCmd, int nCmdShow)
Definition: api.cpp:443
UINT WINAPI DeviceProblemTextA(IN HMACHINE hMachine OPTIONAL, IN DEVINST dnDevInst, IN ULONG uProblemId, OUT LPSTR lpString, IN UINT uMaxString)
Definition: devprblm.cpp:417
BOOL WINAPI DeviceManagerPrintW(LPCWSTR lpMachineName, LPCWSTR lpPrinter, int nPrintMode, UINT uNumberOfGuids, LPGUID lpGuids)
Definition: api.cpp:776
int32_t INT_PTR
Definition: typedefs.h:63
char * LPSTR
Definition: xmlstorage.h:182
UINT WINAPI DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL, IN DEVINST dnDevInst, IN ULONG uProblemId, OUT LPWSTR lpString, IN UINT uMaxString)
Definition: devprblm.cpp:491
int WINAPI DevicePropertiesA(HWND hWndParent, LPCSTR lpMachineName, LPCSTR lpDeviceID, BOOL bShowDevMgr)
Definition: api.cpp:366
HWPAGE_DISPLAYMODE
Definition: main.h:22
VOID WINAPI DeviceProperties_RunDLLW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpDeviceCmd, int nCmdShow)
Definition: api.cpp:498
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI DeviceProblemWizardW(IN HWND hWndParent OPTIONAL, IN LPCWSTR lpMachineName OPTIONAL, IN LPCWSTR lpDeviceID)
Definition: devprblm.cpp:280
const char * LPCSTR
Definition: xmlstorage.h:183
HWND WINAPI DeviceCreateHardwarePageEx(IN HWND hWndParent, IN LPGUID lpGuids, IN UINT uNumberOfGuids, IN HWPAGE_DISPLAYMODE DisplayMode)
Definition: hwpage.cpp:1021
INT_PTR WINAPI DeviceAdvancedPropertiesW(IN HWND hWndParent OPTIONAL, IN LPCWSTR lpMachineName OPTIONAL, IN LPCWSTR lpDeviceID)
Definition: api.cpp:47
HWND WINAPI DeviceCreateHardwarePage(HWND hWndParent, LPGUID lpGuid)
#define WINAPI
Definition: msvc.h:6
VOID WINAPI DeviceProblemWizard_RunDLLA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpDeviceCmd, int nCmdShow)
Definition: api.cpp:652
unsigned long DWORD
Definition: ntddk_ex.h:95
INT_PTR WINAPI DeviceAdvancedPropertiesA(IN HWND hWndParent OPTIONAL, IN LPCSTR lpMachineName OPTIONAL, IN LPCSTR lpDeviceID)
Definition: api.cpp:118
static VIDEODISPLAYMODE DisplayMode
Definition: pcvideo.c:115
BOOL WINAPI DeviceProblemWizardA(IN HWND hWndParent OPTIONAL, IN LPCSTR lpMachineName OPTIONAL, IN LPCSTR lpDeviceID)
Definition: devprblm.cpp:213
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HWPAGE_DISPLAYMODE
Definition: devmgr.h:125
enum HWPAGE_DISPLAYMODE * PHWPAGE_DISPLAYMODE
VOID WINAPI DeviceProblemWizard_RunDLLW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpDeviceCmd, int nCmdShow)
Definition: api.cpp:690
HINSTANCE hInst
Definition: dxdiag.c:13
DWORD DEVINST
Definition: cfgmgr32.h:76
int WINAPI DevicePropertiesW(HWND hWndParent, LPCWSTR lpMachineName, LPCWSTR lpDeviceID, BOOL bShowDevMgr)
Definition: api.cpp:403
unsigned int UINT
Definition: ndis.h:50
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
WCHAR * LPWSTR
Definition: xmlstorage.h:184
INT_PTR WINAPI DevicePropertiesExW(IN HWND hWndParent OPTIONAL, IN LPCWSTR lpMachineName OPTIONAL, IN LPCWSTR lpDeviceID OPTIONAL, IN DWORD dwFlags OPTIONAL, IN BOOL bShowDevMgr)
Definition: api.cpp:272
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68