ReactOS 0.4.16-dev-125-g798ea90
devmgr.h
Go to the documentation of this file.
1#ifndef __DEVMGR__H
2#define __DEVMGR__H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
12 LPCSTR lpMachineName,
13 int nCmdShow);
14
15BOOL
19 LPCWSTR lpMachineName,
20 int nCmdShow);
21
22VOID
26 LPCSTR lpDeviceCmd,
27 int nCmdShow);
28
29VOID
33 LPCWSTR lpDeviceCmd,
34 int nCmdShow);
35
36int
39 LPCSTR lpMachineName,
40 LPCSTR lpDeviceID,
41 BOOL bShowDevMgr);
42
43int
46 LPCWSTR lpMachineName,
47 LPCWSTR lpDeviceID,
48 BOOL bShowDevMgr);
49
50UINT
53 IN DEVINST dnDevInst,
54 IN ULONG uProblemId,
55 OUT LPSTR lpString,
56 IN UINT uMaxString);
57
58UINT
61 IN DEVINST dnDevInst,
62 IN ULONG uProblemId,
63 OUT LPWSTR lpString,
64 IN UINT uMaxString);
65
66BOOL
69 IN LPCSTR lpMachineName OPTIONAL,
70 IN LPCSTR lpDeviceID);
71
72
73BOOL
76 IN LPCWSTR lpMachineName OPTIONAL,
77 IN LPCWSTR lpDeviceID);
78
79VOID
83 LPCSTR lpDeviceCmd,
84 int nCmdShow);
85
86VOID
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
97BOOL
99DeviceManagerPrintA(LPCSTR lpMachineName,
100 LPCSTR lpPrinter,
101 int nPrintMode,
102 UINT uNumberOfGuids,
103 LPGUID lpGuids);
104
105BOOL
106WINAPI
107DeviceManagerPrintW(LPCWSTR lpMachineName,
108 LPCWSTR lpPrinter,
109 int nPrintMode,
110 UINT uNumberOfGuids,
111 LPGUID lpGuids);
112
114WINAPI
116 IN LPCSTR lpMachineName OPTIONAL,
117 IN LPCSTR lpDeviceID);
118
120WINAPI
122 IN LPCWSTR lpMachineName OPTIONAL,
123 IN LPCWSTR lpDeviceID);
124
125typedef enum
126{
131
132HWND
133WINAPI
135 LPGUID lpGuid);
136
137HWND
138WINAPI
140 IN LPGUID lpGuids,
141 IN UINT uNumberOfGuids,
143
144#define DPF_EXTENDED (0x1)
145#define DPF_DEVICE_STATUS_ACTION (0x2)
146
148WINAPI
150 IN LPCSTR lpMachineName OPTIONAL,
151 IN LPCSTR lpDeviceID OPTIONAL,
153 IN BOOL bShowDevMgr);
154
156WINAPI
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 */
DWORD DEVINST
Definition: cfgmgr32.h:76
HWPAGE_DISPLAYMODE
Definition: main.h:23
HINSTANCE hInst
Definition: dxdiag.c:13
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned int UINT
Definition: ndis.h:50
static VIDEODISPLAYMODE DisplayMode
Definition: pcvideo.c:117
BOOL WINAPI DeviceProblemWizardA(IN HWND hWndParent OPTIONAL, IN LPCSTR lpMachineName OPTIONAL, IN LPCSTR lpDeviceID)
Definition: devprblm.cpp:213
HWPAGE_DISPLAYMODE
Definition: devmgr.h:126
@ HWPD_STANDARDLIST
Definition: devmgr.h:127
@ HWPD_LARGELIST
Definition: devmgr.h:128
@ HWPD_MAX
Definition: devmgr.h:129
BOOL WINAPI DeviceManagerPrintW(LPCWSTR lpMachineName, LPCWSTR lpPrinter, int nPrintMode, UINT uNumberOfGuids, LPGUID lpGuids)
Definition: api.cpp:776
BOOL WINAPI DeviceManagerPrintA(LPCSTR lpMachineName, LPCSTR lpPrinter, int nPrintMode, UINT uNumberOfGuids, LPGUID lpGuids)
Definition: api.cpp:732
INT_PTR WINAPI DeviceAdvancedPropertiesW(IN HWND hWndParent OPTIONAL, IN LPCWSTR lpMachineName OPTIONAL, IN LPCWSTR lpDeviceID)
Definition: api.cpp:47
BOOL WINAPI DeviceProblemWizardW(IN HWND hWndParent OPTIONAL, IN LPCWSTR lpMachineName OPTIONAL, IN LPCWSTR lpDeviceID)
Definition: devprblm.cpp:280
INT_PTR WINAPI DeviceAdvancedPropertiesA(IN HWND hWndParent OPTIONAL, IN LPCSTR lpMachineName OPTIONAL, IN LPCSTR lpDeviceID)
Definition: api.cpp:118
BOOL WINAPI DeviceManager_ExecuteA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpMachineName, int nCmdShow)
Definition: api.cpp:550
VOID WINAPI DeviceProperties_RunDLLW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpDeviceCmd, int nCmdShow)
Definition: api.cpp:498
VOID WINAPI DeviceProperties_RunDLLA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpDeviceCmd, int nCmdShow)
Definition: api.cpp:443
UINT WINAPI DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL, IN DEVINST dnDevInst, IN ULONG uProblemId, OUT LPWSTR lpString, IN UINT uMaxString)
Definition: devprblm.cpp:491
VOID WINAPI DeviceProblemWizard_RunDLLW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpDeviceCmd, int nCmdShow)
Definition: api.cpp:690
enum HWPAGE_DISPLAYMODE * PHWPAGE_DISPLAYMODE
BOOL WINAPI DeviceManager_ExecuteW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpMachineName, int nCmdShow)
Definition: api.cpp:611
int WINAPI DevicePropertiesW(HWND hWndParent, LPCWSTR lpMachineName, LPCWSTR lpDeviceID, BOOL bShowDevMgr)
Definition: api.cpp:403
int WINAPI DevicePropertiesA(HWND hWndParent, LPCSTR lpMachineName, LPCSTR lpDeviceID, BOOL bShowDevMgr)
Definition: api.cpp:366
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
HWND WINAPI DeviceCreateHardwarePageEx(IN HWND hWndParent, IN LPGUID lpGuids, IN UINT uNumberOfGuids, IN HWPAGE_DISPLAYMODE DisplayMode)
Definition: hwpage.cpp:1021
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
VOID WINAPI DeviceProblemWizard_RunDLLA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpDeviceCmd, int nCmdShow)
Definition: api.cpp:652
UINT WINAPI DeviceProblemTextA(IN HMACHINE hMachine OPTIONAL, IN DEVINST dnDevInst, IN ULONG uProblemId, OUT LPSTR lpString, IN UINT uMaxString)
Definition: devprblm.cpp:417
HWND WINAPI DeviceCreateHardwarePage(HWND hWndParent, LPGUID lpGuid)
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
int32_t INT_PTR
Definition: typedefs.h:64
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
#define WINAPI
Definition: msvc.h:6
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185