ReactOS  0.4.15-dev-439-g292f67a
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 
58  WCHAR szTemp[255];
60  /* struct may be dynamically expanded here! */
62 
63 
65 {
69 
70 #define PM_INITIALIZE (WM_APP + 0x101)
71 
72 
73 
74 /* HWRESOURCE.C */
75 
76 INT_PTR
79  IN UINT uMsg,
81  IN LPARAM lParam);
82 
83 PVOID
85  _In_ LPWSTR pszDeviceID);
86 
87 /* ADVPROP.C */
88 
89 INT_PTR
91  IN LPCWSTR lpDeviceID OPTIONAL,
94  IN HINSTANCE hComCtl32,
95  IN LPCWSTR lpMachineName,
96  IN DWORD dwFlags);
97 
98 /* DEVPRBLM.C */
99 
100 BOOL
102  IN HDEVINFO hDevInfo,
103  IN PSP_DEVINFO_DATA DevInfoData,
104  IN HMACHINE hMachine OPTIONAL);
105 
106 /* MISC.C */
107 
108 
109 INT
111  IN UINT uID);
112 
113 DWORD
115  IN UINT uID,
116  OUT LPWSTR *lpTarget,
117  ...);
118 
119 DWORD
121  IN UINT *uID,
122  IN UINT nIDs,
123  OUT LPWSTR *lpTarget,
124  ...);
125 
126 LPARAM
128 
129 LPWSTR
130 ConvertMultiByteToUnicode(IN LPCSTR lpMultiByteStr,
131  IN UINT uCodePage);
132 
133 HINSTANCE
135 
136 BOOL
138  WCHAR szDeviceID[],
139  WCHAR szMachineName[]);
140 
141 BOOL
144  OUT LPWSTR szBuffer,
146 
147 BOOL
150  IN DEVINST dnParentDevInst OPTIONAL,
151  OUT LPWSTR szBuffer,
153 
154 BOOL
156  IN HMACHINE hMachine,
157  OUT LPWSTR szBuffer,
159 
160 BOOL
163  OUT LPWSTR szBuffer,
165 
166 BOOL
169  OUT LPWSTR szBuffer,
171 
172 BOOL
175  OUT LPWSTR szBuffer,
177 
178 BOOL
179 IsDeviceHidden(IN DEVINST DevInst,
180  IN HMACHINE hMachine,
181  OUT BOOL *IsHidden);
182 
183 BOOL
185  IN HMACHINE hMachine,
186  OUT BOOL *Installed);
187 
188 BOOL
189 CanDisableDevice(IN DEVINST DevInst,
190  IN HMACHINE hMachine,
191  OUT BOOL *CanDisable);
192 
193 BOOL
194 IsDeviceStarted(IN DEVINST DevInst,
195  IN HMACHINE hMachine,
196  OUT BOOL *IsStarted);
197 
198 BOOL
200  IN PSP_DEVINFO_DATA DevInfoData OPTIONAL,
201  IN BOOL bEnable,
202  IN DWORD HardwareProfile OPTIONAL,
203  OUT BOOL *bNeedReboot OPTIONAL);
204 
205 BOOL
207  OUT LPWSTR szBuffer,
209 
210 BOOL
213  OUT LPWSTR szBuffer,
215 
216 BOOL
219  OUT PSP_DRVINFO_DATA DriverInfoData);
220 
221 #endif /* __DEVMGR_H */
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define IN
Definition: typedefs.h:39
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:57
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:63
INT_PTR CALLBACK ResourcesProcDriverDlgProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam)
Definition: hwresource.cpp:316
#define BOOL
Definition: nt_native.h:43
int32_t INT
Definition: typedefs.h:57
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:324
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:59
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:58
__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:6
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
PVOID pResourceList
Definition: properties.h:56
_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: browser.c:17
HPROPSHEETPAGE * DevPropSheets
Definition: properties.h:33
const PROPSHEETPAGEW * LPCPROPSHEETPAGEW
Definition: prsht.h:245
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:2862
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2881
#define _In_
Definition: no_sal2.h:204
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
PVOID GetResourceList(_In_ LPWSTR pszDeviceID)
UINT ShowRemotePages
Definition: properties.h:49
WNDPROC ParentOldWndProc
Definition: properties.h:16
#define OUT
Definition: typedefs.h:40
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