ReactOS 0.4.16-dev-329-g9223134
|
Go to the source code of this file.
Classes | |
struct | CoInstallerElement |
struct | GetSectionCallbackInfo |
struct | PropertyMapEntry |
Macros | |
#define | CLASS_COINSTALLER 0x1 |
#define | DEVICE_COINSTALLER 0x2 |
#define | CLASS_INSTALLER 0x4 |
Typedefs | |
typedef DWORD(CALLBACK * | CLASS_INSTALL_PROC) (IN DI_FUNCTION InstallFunction, IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL) |
typedef BOOL(WINAPI * | DEFAULT_CLASS_INSTALL_PROC) (IN HDEVINFO DeviceInfoSet, IN OUT PSP_DEVINFO_DATA DeviceInfoData) |
typedef DWORD(CALLBACK * | COINSTALLER_PROC) (IN DI_FUNCTION InstallFunction, IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL, IN OUT PCOINSTALLER_CONTEXT_DATA Context) |
Variables | |
static const WCHAR | BackSlash [] = {'\\',0} |
static const WCHAR | DateFormat [] = {'%','u','-','%','u','-','%','u',0} |
static const WCHAR | DotCoInstallers [] = {'.','C','o','I','n','s','t','a','l','l','e','r','s',0} |
static const WCHAR | DotHW [] = {'.','H','W',0} |
static const WCHAR | DotServices [] = {'.','S','e','r','v','i','c','e','s',0} |
static const WCHAR | InfDirectory [] = {'i','n','f','\\',0} |
static const WCHAR | InstanceKeyFormat [] = {'%','0','4','l','u',0} |
static const WCHAR | Version [] = {'V','e','r','s','i','o','n',0} |
static const WCHAR | VersionFormat [] = {'%','u','.','%','u','.','%','u','.','%','u',0} |
static const WCHAR | REGSTR_DRIVER_DATE [] = {'D','r','i','v','e','r','D','a','t','e',0} |
static const WCHAR | REGSTR_DRIVER_DATE_DATA [] = {'D','r','i','v','e','r','D','a','t','e','D','a','t','a',0} |
static const WCHAR | REGSTR_DRIVER_VERSION [] = {'D','r','i','v','e','r','V','e','r','s','i','o','n',0} |
static const WCHAR | REGSTR_SECURITY [] = {'S','e','c','u','r','i','t','y',0} |
static const WCHAR | REGSTR_UI_NUMBER_DESC_FORMAT [] = {'U','I','N','u','m','b','e','r','D','e','s','c','F','o','r','m','a','t',0} |
static struct PropertyMapEntry | PropertyMap [] |
#define CLASS_COINSTALLER 0x1 |
#define CLASS_INSTALLER 0x4 |
#define DEVICE_COINSTALLER 0x2 |
typedef DWORD(CALLBACK * CLASS_INSTALL_PROC) (IN DI_FUNCTION InstallFunction, IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL) |
typedef DWORD(CALLBACK * COINSTALLER_PROC) (IN DI_FUNCTION InstallFunction, IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL, IN OUT PCOINSTALLER_CONTEXT_DATA Context) |
typedef BOOL(WINAPI * DEFAULT_CLASS_INSTALL_PROC) (IN HDEVINFO DeviceInfoSet, IN OUT PSP_DEVINFO_DATA DeviceInfoData) |
|
static |
Definition at line 4499 of file devinst.c.
Referenced by SetupDiSetDeviceInstallParamsW().
|
static |
Definition at line 124 of file devinst.c.
Referenced by GetSectionCallback().
BOOL CreateDeviceInfo | ( | IN struct DeviceInfoSet * | list, |
IN LPCWSTR | InstancePath, | ||
IN LPCGUID | pClassGuid, | ||
OUT struct DeviceInfo ** | pDeviceInfo | ||
) |
Definition at line 528 of file devinst.c.
Referenced by SETUP_CreateDevicesList(), SETUP_CreateInterfaceList(), SetupDiCreateDeviceInfoW(), SetupDiOpenDeviceInfoW(), and SetupDiOpenDeviceInterfaceW().
|
static |
Definition at line 573 of file devinst.c.
Referenced by DestroyDeviceInfo(), and DestroyDeviceInfoSet().
|
static |
Definition at line 581 of file devinst.c.
Referenced by DestroyDeviceInfoSet(), SetupDiCreateDeviceInfoW(), and SetupDiDeleteDeviceInfo().
|
static |
Definition at line 608 of file devinst.c.
Referenced by SetupDiDestroyDeviceInfoList().
Definition at line 94 of file devinst.c.
Referenced by CreateDeviceInfo(), ResetDevice(), SETUP_CreateDevicesList(), SetupDiBuildClassInfoListExW(), SetupDiCreateDeviceInfoListExW(), SetupDiCreateDeviceInfoW(), SetupDiRestartDevices(), and StopDevice().
Definition at line 365 of file devinst.c.
Referenced by SetupDiGetActualSectionToInstallExW().
Definition at line 5311 of file devinst.c.
Referenced by SetupDiInstallDevice().
|
static |
Definition at line 4014 of file devinst.c.
Referenced by SetupDiCallClassInstaller().
BOOL WINAPI IntSetupDiSetDeviceRegistryPropertyAW | ( | HDEVINFO | DeviceInfoSet, |
PSP_DEVINFO_DATA | DeviceInfoData, | ||
DWORD | Property, | ||
const BYTE * | PropertyBuffer, | ||
DWORD | PropertyBufferSize, | ||
BOOL | isAnsi | ||
) |
Definition at line 3358 of file devinst.c.
Referenced by SetupDiSetDeviceRegistryPropertyA(), and SetupDiSetDeviceRegistryPropertyW().
|
static |
Definition at line 4690 of file devinst.c.
Referenced by SetupDiDeleteDeviceInfo().
Definition at line 4635 of file devinst.c.
Referenced by SetupDiChangeState(), SetupDiCreateDevRegKeyW(), SetupDiDeleteDevRegKey(), and SetupDiOpenDevRegKey().
|
static |
Definition at line 5020 of file devinst.c.
Referenced by SetupDiChangeState(), and SetupDiInstallDevice().
Definition at line 3518 of file devinst.c.
Referenced by SetupDiInstallClassExW().
Definition at line 4973 of file devinst.c.
Referenced by SetupDiChangeState().
HKEY SETUPDI_CreateDevKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
REGSAM | samDesired | ||
) |
Definition at line 5671 of file devinst.c.
Referenced by SetupDiChangeState(), and SetupDiCreateDevRegKeyW().
HKEY SETUPDI_CreateDrvKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
UUID * | ClassGuid, | ||
REGSAM | samDesired | ||
) |
Definition at line 5687 of file devinst.c.
Referenced by SetupDiCreateDevRegKeyW(), SetupDiInstallDevice(), and SetupDiRegisterCoDeviceInstallers().
|
static |
Definition at line 6018 of file devinst.c.
Referenced by SetupDiDeleteDevRegKey().
|
static |
Definition at line 6024 of file devinst.c.
Referenced by SetupDiDeleteDevRegKey().
Definition at line 81 of file devinst.c.
Referenced by SetupDiCreateDeviceInterfaceRegKeyW(), and SetupDiOpenClassRegKeyExW().
HKEY SETUPDI_OpenDevKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
REGSAM | samDesired | ||
) |
Definition at line 5841 of file devinst.c.
Referenced by IntSetupDiSetDeviceRegistryPropertyAW(), SETUPDI_CreateDrvKey(), SETUPDI_OpenDrvKey(), SetupDiGetDeviceRegistryPropertyW(), SetupDiInstallDevice(), and SetupDiOpenDevRegKey().
HKEY SETUPDI_OpenDrvKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
REGSAM | samDesired | ||
) |
Definition at line 5857 of file devinst.c.
Referenced by SetupDiBuildDriverInfoList(), SetupDiCallClassInstaller(), SetupDiChangeState(), SetupDiGetClassDevPropertySheetsW(), SetupDiInstallDevice(), SetupDiOpenDevRegKey(), and SetupDiRegisterCoDeviceInstallers().
BOOL WINAPI SetupDiBuildClassInfoList | ( | DWORD | Flags, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 645 of file devinst.c.
Referenced by test_SetupDiBuildClassInfoList().
BOOL WINAPI SetupDiBuildClassInfoListExA | ( | DWORD | Flags, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize, | ||
LPCSTR | MachineName, | ||
PVOID | Reserved | ||
) |
BOOL WINAPI SetupDiBuildClassInfoListExW | ( | DWORD | Flags, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize, | ||
LPCWSTR | MachineName, | ||
PVOID | Reserved | ||
) |
Definition at line 722 of file devinst.c.
Referenced by SetupDiBuildClassInfoList(), SetupDiBuildClassInfoListExA(), and SetupDiGetClassImageListExW().
BOOL WINAPI SetupDiCallClassInstaller | ( | DI_FUNCTION | InstallFunction, |
HDEVINFO | DeviceInfoSet, | ||
PSP_DEVINFO_DATA | DeviceInfoData | ||
) |
Definition at line 4024 of file devinst.c.
Referenced by CNetConnection::Disconnect(), DisplayDeviceAdvancedProperties(), CDeviceNode::EnableDevice(), EnableDevice(), EnumerateDrivers(), InstallCurrentDriver(), InstallSoftwareBusPnpEnumerator(), SETUP_CallInstaller(), StartDevice(), CDeviceNode::UninstallDevice(), UninstallDriver(), UpdateDevInfo(), UpdateDriverDetailsDlg(), and WritePortSettings().
BOOL WINAPI SetupDiChangeState | ( | IN HDEVINFO | DeviceInfoSet, |
IN OUT PSP_DEVINFO_DATA | DeviceInfoData | ||
) |
Definition at line 5071 of file devinst.c.
Referenced by CDeviceNode::EnableDevice(), and SetupDiCallClassInstaller().
BOOL WINAPI SetupDiClassGuidsFromNameA | ( | LPCSTR | ClassName, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 854 of file devinst.c.
Referenced by test_SetupDiClassGuidsFromNameA().
BOOL WINAPI SetupDiClassGuidsFromNameExA | ( | LPCSTR | ClassName, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize, | ||
LPCSTR | MachineName, | ||
PVOID | Reserved | ||
) |
Definition at line 882 of file devinst.c.
Referenced by SetupDiClassGuidsFromNameA().
BOOL WINAPI SetupDiClassGuidsFromNameExW | ( | LPCWSTR | ClassName, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize, | ||
LPCWSTR | MachineName, | ||
PVOID | Reserved | ||
) |
Definition at line 930 of file devinst.c.
Referenced by SetupDiClassGuidsFromNameExA(), and SetupDiClassGuidsFromNameW().
BOOL WINAPI SetupDiClassGuidsFromNameW | ( | LPCWSTR | ClassName, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize | ||
) |
BOOL WINAPI SetupDiClassNameFromGuidA | ( | const GUID * | ClassGuid, |
PSTR | ClassName, | ||
DWORD | ClassNameSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 1053 of file devinst.c.
Referenced by test_SetupDiBuildClassInfoList(), and test_SetupDiClassNameFromGuidA().
BOOL WINAPI SetupDiClassNameFromGuidExA | ( | const GUID * | ClassGuid, |
PSTR | ClassName, | ||
DWORD | ClassNameSize, | ||
PDWORD | RequiredSize, | ||
PCSTR | MachineName, | ||
PVOID | Reserved | ||
) |
Definition at line 1081 of file devinst.c.
Referenced by SetupDiClassNameFromGuidA().
BOOL WINAPI SetupDiClassNameFromGuidExW | ( | const GUID * | ClassGuid, |
PWSTR | ClassName, | ||
DWORD | ClassNameSize, | ||
PDWORD | RequiredSize, | ||
PCWSTR | MachineName, | ||
PVOID | Reserved | ||
) |
Definition at line 1114 of file devinst.c.
Referenced by SetupDiClassNameFromGuidExA(), and SetupDiClassNameFromGuidW().
BOOL WINAPI SetupDiClassNameFromGuidW | ( | const GUID * | ClassGuid, |
PWSTR | ClassName, | ||
DWORD | ClassNameSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 1067 of file devinst.c.
Referenced by PARSER_GetInfClassW(), and CClassNode::SetupNode().
BOOL WINAPI SetupDiCreateDeviceInfoA | ( | HDEVINFO | DeviceInfoSet, |
PCSTR | DeviceName, | ||
CONST GUID * | ClassGuid, | ||
PCSTR | DeviceDescription, | ||
HWND | hwndParent, | ||
DWORD | CreationFlags, | ||
PSP_DEVINFO_DATA | DeviceInfoData | ||
) |
Definition at line 1528 of file devinst.c.
Referenced by test_device_iface(), test_device_iface_detail(), test_device_info(), test_device_interface_key(), test_device_key(), test_devnode(), test_get_device_instance_id(), test_register_device_iface(), test_register_device_info(), test_registry_property_a(), and test_registry_property_w().
Definition at line 1205 of file devinst.c.
Referenced by InstallCompositeBattery(), InstallSoftwareBusPnpEnumerator(), SetupDiInstallClassExW(), test_device_iface(), test_device_iface_detail(), test_device_info(), test_device_key(), test_get_device_instance_id(), and test_register_device_info().
HDEVINFO WINAPI SetupDiCreateDeviceInfoListExA | ( | const GUID * | ClassGuid, |
HWND | hwndParent, | ||
PCSTR | MachineName, | ||
PVOID | Reserved | ||
) |
HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW | ( | const GUID * | ClassGuid, |
HWND | hwndParent, | ||
PCWSTR | MachineName, | ||
PVOID | Reserved | ||
) |
Definition at line 1259 of file devinst.c.
Referenced by DevInstallW(), InstallDevInstEx(), CKsProxy::Load(), SetupDiCreateDeviceInfoList(), SetupDiCreateDeviceInfoListExA(), SetupDiGetClassDevsExW(), CDeviceNode::SetupNode(), and test_create_device_list_ex().
BOOL WINAPI SetupDiCreateDeviceInfoW | ( | HDEVINFO | DeviceInfoSet, |
PCWSTR | DeviceName, | ||
CONST GUID * | ClassGuid, | ||
PCWSTR | DeviceDescription, | ||
HWND | hwndParent, | ||
DWORD | CreationFlags, | ||
PSP_DEVINFO_DATA | DeviceInfoData | ||
) |
Definition at line 1570 of file devinst.c.
Referenced by InstallCompositeBattery(), InstallSoftwareBusPnpEnumerator(), and SetupDiCreateDeviceInfoA().
BOOL WINAPI SetupDiCreateDeviceInterfaceA | ( | HDEVINFO | DeviceInfoSet, |
PSP_DEVINFO_DATA | DeviceInfoData, | ||
const GUID * | InterfaceClassGuid, | ||
PCSTR | ReferenceString, | ||
DWORD | CreationFlags, | ||
PSP_DEVICE_INTERFACE_DATA | DeviceInterfaceData | ||
) |
Definition at line 2501 of file devinst.c.
Referenced by test_device_iface(), test_device_iface_detail(), test_device_interface_key(), and test_register_device_iface().
HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyA | ( | HDEVINFO | DeviceInfoSet, |
PSP_DEVICE_INTERFACE_DATA | DeviceInterfaceData, | ||
DWORD | Reserved, | ||
REGSAM | samDesired, | ||
HINF | InfHandle, | ||
PCSTR | InfSectionName | ||
) |
Definition at line 2579 of file devinst.c.
Referenced by test_device_interface_key().
HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyW | ( | HDEVINFO | DeviceInfoSet, |
PSP_DEVICE_INTERFACE_DATA | DeviceInterfaceData, | ||
DWORD | Reserved, | ||
REGSAM | samDesired, | ||
HINF | InfHandle, | ||
PCWSTR | InfSectionName | ||
) |
Definition at line 2613 of file devinst.c.
Referenced by InstallOneInterface(), InstallSoftwareDeviceInterfaceInf(), and SetupDiCreateDeviceInterfaceRegKeyA().
BOOL WINAPI SetupDiCreateDeviceInterfaceW | ( | HDEVINFO | DeviceInfoSet, |
PSP_DEVINFO_DATA | DeviceInfoData, | ||
const GUID * | InterfaceClassGuid, | ||
PCWSTR | ReferenceString, | ||
DWORD | CreationFlags, | ||
PSP_DEVICE_INTERFACE_DATA | DeviceInterfaceData | ||
) |
Definition at line 2534 of file devinst.c.
Referenced by SetupDiCreateDeviceInterfaceA().
HKEY WINAPI SetupDiCreateDevRegKeyA | ( | HDEVINFO | DeviceInfoSet, |
PSP_DEVINFO_DATA | DeviceInfoData, | ||
DWORD | Scope, | ||
DWORD | HwProfile, | ||
DWORD | KeyType, | ||
HINF | InfHandle, | ||
PCSTR | InfSectionName | ||
) |
Definition at line 1353 of file devinst.c.
HKEY WINAPI SetupDiCreateDevRegKeyW | ( | HDEVINFO | DeviceInfoSet, |
PSP_DEVINFO_DATA | DeviceInfoData, | ||
DWORD | Scope, | ||
DWORD | HwProfile, | ||
DWORD | KeyType, | ||
HINF | InfHandle, | ||
PCWSTR | InfSectionName | ||
) |
Definition at line 1396 of file devinst.c.
Referenced by GetPortType(), InstallDeviceData(), InstallNetDevice(), InstallParallelPort(), InstallSerialPort(), SetupDiCreateDevRegKeyA(), and test_device_key().
BOOL WINAPI SetupDiDeleteDeviceInfo | ( | IN HDEVINFO | DeviceInfoSet, |
IN PSP_DEVINFO_DATA | DeviceInfoData | ||
) |
Definition at line 4712 of file devinst.c.
Referenced by InstallCompositeBattery(), test_device_info(), and test_register_device_info().
BOOL WINAPI SetupDiDeleteDeviceInterfaceRegKey | ( | HDEVINFO | DeviceInfoSet, |
PSP_DEVICE_INTERFACE_DATA | DeviceInterfaceData, | ||
DWORD | Reserved | ||
) |
Definition at line 2728 of file devinst.c.
Referenced by test_device_interface_key().