ReactOS  0.4.14-dev-376-gaedba84
properties.h
Go to the documentation of this file.
1 #ifndef __DEVMGR_H
2 #define __DEVMGR_H
3 
5 
7 
11 
12 typedef struct _DEVADVPROP_INFO
13 {
18 
26 
30 
34 
35  union
36  {
38  struct
39  {
53  };
54  };
55 
57  WCHAR szTemp[255];
59  /* struct may be dynamically expanded here! */
61 
62 
64 {
68 
69 #define PM_INITIALIZE (WM_APP + 0x101)
70 
71 
72 
73 /* HWRESOURCE.C */
74 
75 INT_PTR
78  IN UINT uMsg,
80  IN LPARAM lParam);
81 
82 /* ADVPROP.C */
83 
84 INT_PTR
86  IN LPCWSTR lpDeviceID OPTIONAL,
89  IN HINSTANCE hComCtl32,
90  IN LPCWSTR lpMachineName,
91  IN DWORD dwFlags);
92 
93 /* DEVPRBLM.C */
94 
95 BOOL
97  IN HDEVINFO hDevInfo,
98  IN PSP_DEVINFO_DATA DevInfoData,
99  IN HMACHINE hMachine OPTIONAL);
100 
101 /* MISC.C */
102 
103 
104 INT
106  IN UINT uID);
107 
108 DWORD
110  IN UINT uID,
111  OUT LPWSTR *lpTarget,
112  ...);
113 
114 DWORD
116  IN UINT *uID,
117  IN UINT nIDs,
118  OUT LPWSTR *lpTarget,
119  ...);
120 
121 LPARAM
123 
124 LPWSTR
125 ConvertMultiByteToUnicode(IN LPCSTR lpMultiByteStr,
126  IN UINT uCodePage);
127 
128 HINSTANCE
130 
131 BOOL
133  WCHAR szDeviceID[],
134  WCHAR szMachineName[]);
135 
136 BOOL
139  OUT LPWSTR szBuffer,
141 
142 BOOL
145  IN DEVINST dnParentDevInst OPTIONAL,
146  OUT LPWSTR szBuffer,
148 
149 BOOL
151  IN HMACHINE hMachine,
152  OUT LPWSTR szBuffer,
154 
155 BOOL
158  OUT LPWSTR szBuffer,
160 
161 BOOL
164  OUT LPWSTR szBuffer,
166 
167 BOOL
170  OUT LPWSTR szBuffer,
172 
173 BOOL
174 IsDeviceHidden(IN DEVINST DevInst,
175  IN HMACHINE hMachine,
176  OUT BOOL *IsHidden);
177 
178 BOOL
180  IN HMACHINE hMachine,
181  OUT BOOL *Installed);
182 
183 BOOL
184 CanDisableDevice(IN DEVINST DevInst,
185  IN HMACHINE hMachine,
186  OUT BOOL *CanDisable);
187 
188 BOOL
189 IsDeviceStarted(IN DEVINST DevInst,
190  IN HMACHINE hMachine,
191  OUT BOOL *IsStarted);
192 
193 BOOL
195  IN PSP_DEVINFO_DATA DevInfoData OPTIONAL,
196  IN BOOL bEnable,
197  IN DWORD HardwareProfile OPTIONAL,
198  OUT BOOL *bNeedReboot OPTIONAL);
199 
200 BOOL
202  OUT LPWSTR szBuffer,
204 
205 BOOL
208  OUT LPWSTR szBuffer,
210 
211 BOOL
214  OUT PSP_DRVINFO_DATA DriverInfoData);
215 
216 #endif /* __DEVMGR_H */
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define IN
Definition: typedefs.h:38
LPCWSTR lpMachineName
Definition: properties.h:25
HDEVINFO CurrentDeviceInfoSet
Definition: properties.h:21
static HICON
Definition: imagelist.c:84
BOOL CanDisableDevice(IN DEVINST DevInst, IN HMACHINE hMachine, OUT BOOL *CanDisable)
Definition: misc.cpp:711
struct _DEVADVPROP_INFO * PDEVADVPROP_INFO
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
BOOL IsDeviceHidden(IN DEVINST DevInst, IN HMACHINE hMachine, OUT BOOL *IsHidden)
Definition: misc.cpp:687
BOOL GetDriverProviderString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:504
UINT DeviceUsageChanged
Definition: properties.h:44
WCHAR szDevName[255]
Definition: properties.h:56
BOOL(WINAPI * PDESTROYPROPERTYSHEETPAGE)(HPROPSHEETPAGE)
Definition: properties.h:10
#define CALLBACK
Definition: compat.h:27
LPWSTR ConvertMultiByteToUnicode(IN LPCSTR lpMultiByteStr, IN UINT uCodePage)
Definition: misc.cpp:239
PDESTROYPROPERTYSHEETPAGE pDestroyPropertySheetPage
Definition: properties.h:29
BOOL GetDeviceLocationString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, IN DEVINST dnParentDevInst OPTIONAL, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:318
INT_PTR(WINAPI * PPROPERTYSHEETW)(LPCPROPSHEETHEADERW)
Definition: properties.h:8
UINT HasResourcePage
Definition: properties.h:51
UINT_PTR WPARAM
Definition: windef.h:207
BOOL IsDriverInstalled(IN DEVINST DevInst, IN HMACHINE hMachine, OUT BOOL *Installed)
Definition: misc.cpp:759
int32_t INT_PTR
Definition: typedefs.h:62
INT_PTR CALLBACK ResourcesProcDriverDlgProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam)
Definition: hwresource.cpp:338
#define BOOL
Definition: nt_native.h:43
int32_t INT
Definition: typedefs.h:56
BOOL GetDeviceManufacturerString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:281
WPARAM wParam
Definition: combotst.c:138
SP_DEVINFO_DATA DeviceInfoData
Definition: properties.h:20
DWORD LoadAndFormatString(IN HINSTANCE hInstance, IN UINT uID, OUT LPWSTR *lpTarget,...)
Definition: misc.c:76
HPROPSHEETPAGE(WINAPI * PCREATEPROPERTYSHEETPAGEW)(LPCPROPSHEETPAGEW)
Definition: properties.h:9
HINSTANCE LoadAndInitComctl32(VOID)
Definition: misc.cpp:1106
HINSTANCE hInstance
Definition: charmap.c:20
UINT DoDefaultDevAction
Definition: properties.h:47
HWND hWndGeneralPage
Definition: properties.h:14
unsigned int BOOL
Definition: ntddk_ex.h:94
const PROPSHEETHEADERW * LPCPROPSHEETHEADERW
Definition: prsht.h:306
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
struct _ENUMDRIVERFILES_CONTEXT ENUMDRIVERFILES_CONTEXT
BOOL IsDeviceStarted(IN DEVINST DevInst, IN HMACHINE hMachine, OUT BOOL *IsStarted)
Definition: misc.cpp:735
LONG_PTR LPARAM
Definition: windef.h:208
SP_DEVINFO_DATA CurrentDeviceInfoData
Definition: properties.h:22
const char * LPCSTR
Definition: xmlstorage.h:183
WCHAR szDeviceID[1]
Definition: properties.h:58
HMACHINE hMachine
Definition: properties.h:24
struct _ENUMDRIVERFILES_CONTEXT * PENUMDRIVERFILES_CONTEXT
struct _DEVADVPROP_INFO DEVADVPROP_INFO
LPARAM ListViewGetSelectedItemData(IN HWND hwnd)
Definition: misc.c:134
UINT FreeDevPropSheets
Definition: properties.h:41
WCHAR szTemp[255]
Definition: properties.h:57
__wchar_t WCHAR
Definition: xmlstorage.h:180
BOOL EnableDevice(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DevInfoData OPTIONAL, IN BOOL bEnable, IN DWORD HardwareProfile OPTIONAL, OUT BOOL *bNeedReboot OPTIONAL)
Definition: misc.cpp:784
#define WINAPI
Definition: msvc.h:8
BOOL FindCurrentDriver(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT PSP_DRVINFO_DATA DriverInfoData)
Definition: misc.cpp:924
#define BufferSize
Definition: classpnp.h:419
_In_opt_ PSP_DEVINFO_DATA DeviceInfoData
Definition: setupapi.h:1523
unsigned long DWORD
Definition: ntddk_ex.h:95
WINE_DEFAULT_DEBUG_CHANNEL(devmgr)
INT LengthOfStrResource(IN HINSTANCE hInst, IN UINT uID)
Definition: misc.c:23
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
UINT PageInitialized
Definition: properties.h:48
DWORD LoadAndFormatStringsCat(IN HINSTANCE hInstance, IN UINT *uID, IN UINT nIDs, OUT LPWSTR *lpTarget,...)
Definition: misc.cpp:177
BOOL GetDeviceStatusString(IN DEVINST DevInst, IN HMACHINE hMachine, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:443
BOOL GetDeviceDescriptionString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:880
HINSTANCE hDllInstance
Definition: dnsrslvr.c:18
HPROPSHEETPAGE * DevPropSheets
Definition: properties.h:33
const PROPSHEETPAGEW * LPCPROPSHEETPAGEW
Definition: prsht.h:227
INT_PTR DisplayDeviceAdvancedProperties(IN HWND hWndParent, IN LPCWSTR lpDeviceID OPTIONAL, IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, IN HINSTANCE hComCtl32, IN LPCWSTR lpMachineName, IN DWORD dwFlags)
Definition: advprop.cpp:2860
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2880
BOOL GetDriverVersionString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:562
HINSTANCE hInst
Definition: dxdiag.c:13
_In_ BOOL bEnable
Definition: winddi.h:3426
DWORD DEVINST
Definition: cfgmgr32.h:76
PCREATEPROPERTYSHEETPAGEW pCreatePropertySheetPageW
Definition: properties.h:28
DWORD nDevPropSheets
Definition: properties.h:32
unsigned int UINT
Definition: ndis.h:50
UINT ShowRemotePages
Definition: properties.h:49
WNDPROC ParentOldWndProc
Definition: properties.h:16
#define OUT
Definition: typedefs.h:39
DEVINST ParentDevInst
Definition: properties.h:23
BOOL GetDeviceAndComputerName(LPWSTR lpString, WCHAR szDeviceID[], WCHAR szMachineName[])
Definition: misc.cpp:1132
WCHAR * LPWSTR
Definition: xmlstorage.h:184
HINSTANCE hComCtl32
Definition: properties.h:27
BOOL GetDriverDateString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:619
BOOL GetDeviceTypeString(IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:849
DWORD PropertySheetType
Definition: properties.h:31
LPARAM lParam
Definition: combotst.c:139
BOOL ShowDeviceProblemWizard(IN HWND hWndParent OPTIONAL, IN HDEVINFO hDevInfo, IN PSP_DEVINFO_DATA DevInfoData, IN HMACHINE hMachine OPTIONAL)
Definition: devprblm.cpp:34
HDEVINFO DeviceInfoSet
Definition: properties.h:19
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68