ReactOS
0.4.15-dev-2355-gaf9df93
|
#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 4493 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_CreateDevicesList(), 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(), SETUP_CreateDevicesList(), SetupDiBuildClassInfoListExW(), SetupDiCreateDeviceInfoListExW(), SetupDiCreateDeviceInfoW(), SetupDiRestartDevices(), and StopDevice().
Definition at line 363 of file devinst.c.
Referenced by SetupDiGetActualSectionToInstallExW().
Definition at line 5305 of file devinst.c.
Referenced by SetupDiInstallDevice().
|
static |
Definition at line 4008 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 3352 of file devinst.c.
Referenced by SetupDiSetDeviceRegistryPropertyA(), and SetupDiSetDeviceRegistryPropertyW().
|
static |
Definition at line 4684 of file devinst.c.
Referenced by SetupDiDeleteDeviceInfo().
Definition at line 4629 of file devinst.c.
Referenced by SetupDiChangeState(), SetupDiCreateDevRegKeyW(), SetupDiDeleteDevRegKey(), and SetupDiOpenDevRegKey().
|
static |
Definition at line 5014 of file devinst.c.
Referenced by SetupDiChangeState(), and SetupDiInstallDevice().
Definition at line 3512 of file devinst.c.
Referenced by SetupDiInstallClassExW().
Definition at line 4967 of file devinst.c.
Referenced by SetupDiChangeState().
HKEY SETUPDI_CreateDevKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
REGSAM | samDesired | ||
) |
Definition at line 5665 of file devinst.c.
Referenced by SetupDiChangeState(), and SetupDiCreateDevRegKeyW().
HKEY SETUPDI_CreateDrvKey | ( | HKEY | RootKey, |
struct DeviceInfo * | devInfo, | ||
UUID * | ClassGuid, | ||
REGSAM | samDesired | ||
) |
Definition at line 5681 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 5835 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 5851 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 4018 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 5065 of file devinst.c.
Referenced by CDeviceNode::EnableDevice(), and SetupDiCallClassInstaller().
BOOL WINAPI SetupDiClassGuidsFromNameA | ( | LPCSTR | ClassName, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 852 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 880 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 928 of file devinst.c.
Referenced by SetupDiClassGuidsFromNameExA(), and SetupDiClassGuidsFromNameW().
BOOL WINAPI SetupDiClassGuidsFromNameW | ( | LPCWSTR | ClassName, |
LPGUID | ClassGuidList, | ||
DWORD | ClassGuidListSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 866 of file devinst.c.
BOOL WINAPI SetupDiClassNameFromGuidA | ( | const GUID * | ClassGuid, |
PSTR | ClassName, | ||
DWORD | ClassNameSize, | ||
PDWORD | RequiredSize | ||
) |
Definition at line 1051 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 1079 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 1112 of file devinst.c.