ReactOS 0.4.16-dev-334-g4d9f67c
newdev.h File Reference
#include <setupapi.h>
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for newdev.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INSTALLFLAG_FORCE   0x00000001
 
#define INSTALLFLAG_READONLY   0x00000002
 
#define INSTALLFLAG_NONINTERACTIVE   0x00000004
 
#define INSTALLFLAG_BITS   0x00000007
 
#define UpdateDriverForPlugAndPlayDevices   UpdateDriverForPlugAndPlayDevicesA
 
#define DIIDFLAG_SHOWSEARCHUI   0x00000001
 
#define DIIDFLAG_NOFINISHINSTALLUI   0x00000002
 
#define DIIDFLAG_INSTALLNULLDRIVER   0x00000004
 
#define DIIDFLAG_BITS   0x00000007
 
#define DIIRFLAG_INF_ALREADY_COPIED   0x00000001
 
#define DIIRFLAG_FORCE_INF   0x00000002
 
#define DIIRFLAG_HW_USING_THE_INF   0x00000004
 
#define DIIRFLAG_HOTPATCH   0x00000008
 
#define DIIRFLAG_NOBACKUP   0x00000010
 
#define DIIRFLAG_BITS   ( DIIRFLAG_FORCE_INF | DIIRFLAG_HOTPATCH)
 
#define DIIRFLAG_SYSTEM_BITS
 
#define ROLLBACK_FLAG_NO_UI   0x00000001
 
#define ROLLBACK_BITS   0x00000001
 
#define DiInstallDriver   DiInstallDriverA
 

Functions

BOOL WINAPI UpdateDriverForPlugAndPlayDevicesA (HWND hwndParent, LPCSTR HardwareId, LPCSTR FullInfPath, DWORD InstallFlags, PBOOL bRebootRequired OPTIONAL)
 
BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW (HWND hwndParent, LPCWSTR HardwareId, LPCWSTR FullInfPath, DWORD InstallFlags, PBOOL bRebootRequired OPTIONAL)
 
BOOL WINAPI DiInstallDevice (HWND hwndParent OPTIONAL, HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, PSP_DRVINFO_DATA DriverInfoData OPTIONAL, DWORD Flags, PBOOL NeedReboot OPTIONAL)
 
BOOL WINAPI DiShowUpdateDevice (HWND hwndParent OPTIONAL, HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, DWORD Flags, PBOOL NeedReboot OPTIONAL)
 
BOOL WINAPI DiRollbackDriver (HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, HWND hwndParent OPTIONAL, DWORD Flags, PBOOL NeedReboot OPTIONAL)
 
BOOL WINAPI DiInstallDriverW (HWND hwndParent OPTIONAL, LPCWSTR InfPath, DWORD Flags, PBOOL NeedReboot OPTIONAL)
 
BOOL WINAPI DiInstallDriverA (HWND hwndParent OPTIONAL, LPCSTR InfPath, DWORD Flags, PBOOL NeedReboot OPTIONAL)
 
BOOL WINAPI DiUninstallDevice (HWND hwndParent, HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, DWORD Flags, PBOOL NeedReboot OPTIONAL)
 

Macro Definition Documentation

◆ DIIDFLAG_BITS

#define DIIDFLAG_BITS   0x00000007

Definition at line 72 of file newdev.h.

◆ DIIDFLAG_INSTALLNULLDRIVER

#define DIIDFLAG_INSTALLNULLDRIVER   0x00000004

Definition at line 71 of file newdev.h.

◆ DIIDFLAG_NOFINISHINSTALLUI

#define DIIDFLAG_NOFINISHINSTALLUI   0x00000002

Definition at line 70 of file newdev.h.

◆ DIIDFLAG_SHOWSEARCHUI

#define DIIDFLAG_SHOWSEARCHUI   0x00000001

Definition at line 69 of file newdev.h.

◆ DiInstallDriver

#define DiInstallDriver   DiInstallDriverA

Definition at line 137 of file newdev.h.

◆ DIIRFLAG_BITS

#define DIIRFLAG_BITS   ( DIIRFLAG_FORCE_INF | DIIRFLAG_HOTPATCH)

Definition at line 79 of file newdev.h.

◆ DIIRFLAG_FORCE_INF

#define DIIRFLAG_FORCE_INF   0x00000002

Definition at line 75 of file newdev.h.

◆ DIIRFLAG_HOTPATCH

#define DIIRFLAG_HOTPATCH   0x00000008

Definition at line 77 of file newdev.h.

◆ DIIRFLAG_HW_USING_THE_INF

#define DIIRFLAG_HW_USING_THE_INF   0x00000004

Definition at line 76 of file newdev.h.

◆ DIIRFLAG_INF_ALREADY_COPIED

#define DIIRFLAG_INF_ALREADY_COPIED   0x00000001

Definition at line 74 of file newdev.h.

◆ DIIRFLAG_NOBACKUP

#define DIIRFLAG_NOBACKUP   0x00000010

Definition at line 78 of file newdev.h.

◆ DIIRFLAG_SYSTEM_BITS

#define DIIRFLAG_SYSTEM_BITS
Value:
#define DIIRFLAG_INF_ALREADY_COPIED
Definition: newdev.h:74
#define DIIRFLAG_HW_USING_THE_INF
Definition: newdev.h:76
#define DIIRFLAG_FORCE_INF
Definition: newdev.h:75
#define DIIRFLAG_HOTPATCH
Definition: newdev.h:77
#define DIIRFLAG_NOBACKUP
Definition: newdev.h:78

Definition at line 80 of file newdev.h.

◆ INSTALLFLAG_BITS

#define INSTALLFLAG_BITS   0x00000007

Definition at line 37 of file newdev.h.

◆ INSTALLFLAG_FORCE

#define INSTALLFLAG_FORCE   0x00000001

Definition at line 34 of file newdev.h.

◆ INSTALLFLAG_NONINTERACTIVE

#define INSTALLFLAG_NONINTERACTIVE   0x00000004

Definition at line 36 of file newdev.h.

◆ INSTALLFLAG_READONLY

#define INSTALLFLAG_READONLY   0x00000002

Definition at line 35 of file newdev.h.

◆ ROLLBACK_BITS

#define ROLLBACK_BITS   0x00000001

Definition at line 87 of file newdev.h.

◆ ROLLBACK_FLAG_NO_UI

#define ROLLBACK_FLAG_NO_UI   0x00000001

Definition at line 86 of file newdev.h.

◆ UpdateDriverForPlugAndPlayDevices

#define UpdateDriverForPlugAndPlayDevices   UpdateDriverForPlugAndPlayDevicesA

Definition at line 62 of file newdev.h.

Function Documentation

◆ DiInstallDevice()

BOOL WINAPI DiInstallDevice ( HWND hwndParent  OPTIONAL,
HDEVINFO  DeviceInfoSet,
PSP_DEVINFO_DATA  DeviceInfoData,
PSP_DRVINFO_DATA DriverInfoData  OPTIONAL,
DWORD  Flags,
PBOOL NeedReboot  OPTIONAL 
)

◆ DiInstallDriverA()

BOOL WINAPI DiInstallDriverA ( HWND hwndParent  OPTIONAL,
LPCSTR  InfPath,
DWORD  Flags,
PBOOL NeedReboot  OPTIONAL 
)

◆ DiInstallDriverW()

BOOL WINAPI DiInstallDriverW ( HWND hwndParent  OPTIONAL,
LPCWSTR  InfPath,
DWORD  Flags,
PBOOL NeedReboot  OPTIONAL 
)

◆ DiRollbackDriver()

BOOL WINAPI DiRollbackDriver ( HDEVINFO  DeviceInfoSet,
PSP_DEVINFO_DATA  DeviceInfoData,
HWND hwndParent  OPTIONAL,
DWORD  Flags,
PBOOL NeedReboot  OPTIONAL 
)

◆ DiShowUpdateDevice()

BOOL WINAPI DiShowUpdateDevice ( HWND hwndParent  OPTIONAL,
HDEVINFO  DeviceInfoSet,
PSP_DEVINFO_DATA  DeviceInfoData,
DWORD  Flags,
PBOOL NeedReboot  OPTIONAL 
)

◆ DiUninstallDevice()

BOOL WINAPI DiUninstallDevice ( HWND  hwndParent,
HDEVINFO  DeviceInfoSet,
PSP_DEVINFO_DATA  DeviceInfoData,
DWORD  Flags,
PBOOL NeedReboot  OPTIONAL 
)

◆ UpdateDriverForPlugAndPlayDevicesA()

BOOL WINAPI UpdateDriverForPlugAndPlayDevicesA ( HWND  hwndParent,
LPCSTR  HardwareId,
LPCSTR  FullInfPath,
DWORD  InstallFlags,
PBOOL bRebootRequired  OPTIONAL 
)

◆ UpdateDriverForPlugAndPlayDevicesW()

BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW ( HWND  hwndParent,
LPCWSTR  HardwareId,
LPCWSTR  FullInfPath,
DWORD  InstallFlags,
PBOOL bRebootRequired  OPTIONAL 
)