ReactOS 0.4.16-dev-125-g798ea90
properties.h
Go to the documentation of this file.
1#ifndef __DEVMGR_H
2#define __DEVMGR_H
3
5
7
11
12typedef struct _DEVADVPROP_INFO
13{
18
26
30
34
35 union
36 {
38 struct
39 {
53 };
54 };
55
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
79 IN UINT uMsg,
82
85 _In_ LPWSTR pszDeviceID);
86
87/* ADVPROP.C */
88
91 IN LPCWSTR lpDeviceID OPTIONAL,
94 IN HINSTANCE hComCtl32,
95 IN LPCWSTR lpMachineName,
97
98/* DEVPRBLM.C */
99
100BOOL
102 IN HDEVINFO hDevInfo,
103 IN PSP_DEVINFO_DATA DevInfoData,
104 IN HMACHINE hMachine OPTIONAL);
105
106/* MISC.C */
107
108
109INT
111 IN UINT uID);
112
113DWORD
115 IN UINT uID,
116 OUT LPWSTR *lpTarget,
117 ...);
118
119DWORD
121 IN UINT *uID,
122 IN UINT nIDs,
123 OUT LPWSTR *lpTarget,
124 ...);
125
126LPARAM
128
129LPWSTR
130ConvertMultiByteToUnicode(IN LPCSTR lpMultiByteStr,
131 IN UINT uCodePage);
132
135
136BOOL
138 WCHAR szDeviceID[],
139 WCHAR szMachineName[]);
140
141BOOL
144 OUT LPWSTR szBuffer,
146
147BOOL
150 IN DEVINST dnParentDevInst OPTIONAL,
151 OUT LPWSTR szBuffer,
153
154BOOL
156 IN HMACHINE hMachine,
157 OUT LPWSTR szBuffer,
159
160BOOL
163 OUT LPWSTR szBuffer,
165
166BOOL
169 OUT LPWSTR szBuffer,
171
172BOOL
175 OUT LPWSTR szBuffer,
177
178BOOL
180 IN HMACHINE hMachine,
181 OUT BOOL *IsHidden);
182
183BOOL
185 IN HMACHINE hMachine,
186 OUT BOOL *Installed);
187
188BOOL
190 IN HMACHINE hMachine,
191 OUT BOOL *CanDisable);
192
193BOOL
195 IN HMACHINE hMachine,
196 OUT BOOL *IsStarted);
197
198BOOL
200 IN PSP_DEVINFO_DATA DevInfoData OPTIONAL,
202 IN DWORD HardwareProfile OPTIONAL,
203 OUT BOOL *bNeedReboot OPTIONAL);
204
205BOOL
207 OUT LPWSTR szBuffer,
209
210BOOL
213 OUT LPWSTR szBuffer,
215
216BOOL
219 OUT PSP_DRVINFO_DATA DriverInfoData);
220
221#endif /* __DEVMGR_H */
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
DWORD DEVINST
Definition: cfgmgr32.h:76
HINSTANCE hInstance
Definition: charmap.c:19
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define CALLBACK
Definition: compat.h:35
HINSTANCE LoadAndInitComctl32(VOID)
Definition: misc.cpp:1106
HINSTANCE hInst
Definition: dxdiag.c:13
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
static HICON
Definition: imagelist.c:80
#define _In_
Definition: ms_sal.h:308
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
unsigned int UINT
Definition: ndis.h:50
#define BOOL
Definition: nt_native.h:43
INT LengthOfStrResource(IN HINSTANCE hInst, IN UINT uID)
Definition: misc.c:23
INT_PTR CALLBACK ResourcesProcDriverDlgProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam)
Definition: hwresource.cpp:316
BOOL IsDeviceStarted(IN DEVINST DevInst, IN HMACHINE hMachine, OUT BOOL *IsStarted)
Definition: misc.cpp:735
LPWSTR ConvertMultiByteToUnicode(IN LPCSTR lpMultiByteStr, IN UINT uCodePage)
Definition: misc.cpp:239
BOOL FindCurrentDriver(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT PSP_DRVINFO_DATA DriverInfoData)
Definition: misc.cpp:924
struct _DEVADVPROP_INFO * PDEVADVPROP_INFO
struct _DEVADVPROP_INFO DEVADVPROP_INFO
BOOL GetDeviceLocationString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, IN DEVINST dnParentDevInst OPTIONAL, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:318
BOOL GetDeviceManufacturerString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:281
BOOL GetDriverVersionString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:562
BOOL IsDeviceHidden(IN DEVINST DevInst, IN HMACHINE hMachine, OUT BOOL *IsHidden)
Definition: misc.cpp:687
BOOL GetDriverDateString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:619
BOOL CanDisableDevice(IN DEVINST DevInst, IN HMACHINE hMachine, OUT BOOL *CanDisable)
Definition: misc.cpp:711
BOOL GetDriverProviderString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:504
BOOL GetDeviceTypeString(IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:849
DWORD LoadAndFormatString(IN HINSTANCE hInstance, IN UINT uID, OUT LPWSTR *lpTarget,...)
Definition: misc.c:76
struct _ENUMDRIVERFILES_CONTEXT ENUMDRIVERFILES_CONTEXT
BOOL ShowDeviceProblemWizard(IN HWND hWndParent OPTIONAL, IN HDEVINFO hDevInfo, IN PSP_DEVINFO_DATA DevInfoData, IN HMACHINE hMachine OPTIONAL)
Definition: devprblm.cpp:34
HPROPSHEETPAGE(WINAPI * PCREATEPROPERTYSHEETPAGEW)(LPCPROPSHEETPAGEW)
Definition: properties.h:9
struct _ENUMDRIVERFILES_CONTEXT * PENUMDRIVERFILES_CONTEXT
BOOL GetDeviceStatusString(IN DEVINST DevInst, IN HMACHINE hMachine, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:443
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:2940
INT_PTR(WINAPI * PPROPERTYSHEETW)(LPCPROPSHEETHEADERW)
Definition: properties.h:8
BOOL GetDeviceDescriptionString(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OUT LPWSTR szBuffer, IN DWORD BufferSize)
Definition: misc.cpp:880
DWORD LoadAndFormatStringsCat(IN HINSTANCE hInstance, IN UINT *uID, IN UINT nIDs, OUT LPWSTR *lpTarget,...)
Definition: misc.cpp:177
LPARAM ListViewGetSelectedItemData(IN HWND hwnd)
Definition: misc.c:134
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
BOOL IsDriverInstalled(IN DEVINST DevInst, IN HMACHINE hMachine, OUT BOOL *Installed)
Definition: misc.cpp:759
PVOID GetResourceList(_In_ LPWSTR pszDeviceID)
BOOL GetDeviceAndComputerName(LPWSTR lpString, WCHAR szDeviceID[], WCHAR szMachineName[])
Definition: misc.cpp:1132
HINSTANCE hDllInstance
Definition: browser.c:17
BOOL(WINAPI * PDESTROYPROPERTYSHEETPAGE)(HPROPSHEETPAGE)
Definition: properties.h:10
const PROPSHEETHEADERW * LPCPROPSHEETHEADERW
Definition: prsht.h:324
const PROPSHEETPAGEW * LPCPROPSHEETPAGEW
Definition: prsht.h:245
_In_opt_ PSP_DEVINFO_DATA DeviceInfoData
Definition: setupapi.h:1528
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
UINT DoDefaultDevAction
Definition: properties.h:47
SP_DEVINFO_DATA CurrentDeviceInfoData
Definition: properties.h:22
WCHAR szTemp[255]
Definition: properties.h:58
LPCWSTR lpMachineName
Definition: properties.h:25
DWORD PropertySheetType
Definition: properties.h:31
PCREATEPROPERTYSHEETPAGEW pCreatePropertySheetPageW
Definition: properties.h:28
HMACHINE hMachine
Definition: properties.h:24
UINT FreeDevPropSheets
Definition: properties.h:41
HDEVINFO DeviceInfoSet
Definition: properties.h:19
DWORD nDevPropSheets
Definition: properties.h:32
WCHAR szDevName[255]
Definition: properties.h:57
WNDPROC ParentOldWndProc
Definition: properties.h:16
PDESTROYPROPERTYSHEETPAGE pDestroyPropertySheetPage
Definition: properties.h:29
UINT DeviceUsageChanged
Definition: properties.h:44
HINSTANCE hComCtl32
Definition: properties.h:27
HPROPSHEETPAGE * DevPropSheets
Definition: properties.h:33
PVOID pResourceList
Definition: properties.h:56
SP_DEVINFO_DATA DeviceInfoData
Definition: properties.h:20
UINT PageInitialized
Definition: properties.h:48
HDEVINFO CurrentDeviceInfoSet
Definition: properties.h:21
UINT ShowRemotePages
Definition: properties.h:49
WCHAR szDeviceID[1]
Definition: properties.h:59
UINT HasResourcePage
Definition: properties.h:51
HWND hWndGeneralPage
Definition: properties.h:14
DEVINST ParentDevInst
Definition: properties.h:23
int32_t INT_PTR
Definition: typedefs.h:64
int32_t INT
Definition: typedefs.h:58
#define IN
Definition: typedefs.h:39
#define OUT
Definition: typedefs.h:40
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:254
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
_In_ BOOL bEnable
Definition: winddi.h:3426
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
#define WINAPI
Definition: msvc.h:6
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2909
const char * LPCSTR
Definition: xmlstorage.h:183
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185