ReactOS
0.4.15-dev-1632-g4e289ce
|
#include "setupapi_private.h"
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 4504 of file devinst.c.
Referenced by SetupDiSetDeviceInstallParamsW().
|
static |
Definition at line 122 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 526 of file devinst.c.
Referenced by SETUP_CreateDevicesListFromEnumerator(), SETUP_CreateInterfaceList(), SetupDiCreateDeviceInfoW(), SetupDiOpenDeviceInfoW(), and SetupDiOpenDeviceInterfaceW().
|
static |
Definition at line 571 of file devinst.c.
Referenced by DestroyDeviceInfo(), and DestroyDeviceInfoSet().
|
static |
Definition at line 579 of file devinst.c.
Referenced by DestroyDeviceInfoSet(), SetupDiCreateDeviceInfoW(), and SetupDiDeleteDeviceInfo().
|
static |
Definition at line 606 of file devinst.c.
Referenced by SetupDiDestroyDeviceInfoList().
Definition at line 92 of file devinst.c.
Referenced by CreateDeviceInfo(), ResetDevice(), SetupDiCreateDeviceInfoListExW(), SetupDiCreateDeviceInfoW(), SetupDiRestartDevices(), and StopDevice().
Definition at line 363 of file devinst.c.
Referenced by SetupDiGetActualSectionToInstallExW().
Definition at line 5316 of file devinst.c.
Referenced by SetupDiInstallDevice().
|
static |
Definition at line 4019 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 3363 of file devinst.c.
Referenced by SetupDiSetDeviceRegistryPropertyA(), and SetupDiSetDeviceRegistryPropertyW().
|
static |
Definition at line 4695 of file devinst.c.
Referenced by SetupDiDeleteDeviceInfo().
Definition at line 4640 of file devinst.c.
Referenced by SetupDiChangeState(), SetupDiCreateDevRegKeyW(), SetupDiDeleteDevRegKey(), and SetupDiOpenDevRegKey().
|
static |
Definition at line 5025 of file devinst.c.
Referenced by SetupDiChangeState(), and SetupDiInstallDevice().
Definition at line 3523 of file devinst.c.
Referenced by SetupDiInstallClassExW().
Definition at line 4978 of file devinst.c.
Referenced by SetupDiChangeState().
HKEY SETUPDI_CreateDevKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
REGSAM | samDesired | ||
) |
Definition at line 5672 of file devinst.c.
Referenced by SetupDiChangeState(), and SetupDiCreateDevRegKeyW().
HKEY SETUPDI_CreateDrvKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
UUID * | ClassGuid, | ||
REGSAM | samDesired | ||
) |
Definition at line 5688 of file devinst.c.
Referenced by SetupDiCreateDevRegKeyW(), SetupDiInstallDevice(), and SetupDiRegisterCoDeviceInstallers().
|
static |
|
static |
Definition at line 79 of file devinst.c.
Referenced by SetupDiCreateDeviceInterfaceRegKeyW(), and SetupDiOpenClassRegKeyExW().
HKEY SETUPDI_OpenDevKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
REGSAM | samDesired | ||
) |
Definition at line 5842 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 5858 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 643 of file devinst.c.
Referenced by test_SetupDiBuildClassInfoList().
BOOL WINAPI SetupDiBuildClassInfoListExA | ( | DWORD | Flags, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize, | ||
LPCSTR | MachineName, | ||
PVOID | Reserved | ||
) |
Definition at line 673 of file devinst.c.
BOOL WINAPI SetupDiBuildClassInfoListExW | ( | DWORD | Flags, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize, | ||
LPCWSTR | MachineName, | ||
PVOID | Reserved | ||
) |
Definition at line 720 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 4029 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 5076 of file devinst.c.
Referenced by CDeviceNode::EnableDevice(), and SetupDiCallClassInstaller().
BOOL WINAPI SetupDiClassGuidsFromNameA | ( | LPCSTR | ClassName, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 863 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 891 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 939 of file devinst.c.
Referenced by SetupDiClassGuidsFromNameExA(), and SetupDiClassGuidsFromNameW().
BOOL WINAPI SetupDiClassGuidsFromNameW | ( | LPCWSTR | ClassName, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 877 of file devinst.c.
BOOL WINAPI SetupDiClassNameFromGuidA | ( | const GUID * | ClassGuid, |
PSTR | ClassName, | ||
DWORD | ClassNameSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 1062 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 1090 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 1123 of file devinst.c.