Add support for setupapi.SetupDiCreateDeviceInfo()

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman
2019-02-04 11:52:42 +01:00
committed by Jason A. Donenfeld
parent 024a4916c2
commit dd998ca86a
4 changed files with 67 additions and 1 deletions

View File

@@ -20,7 +20,15 @@ const (
CONFIGMG_VERSION = 0x0400
)
// DIGCF flags controll what is included in the device information set built by SetupDiGetClassDevs
// DICD flags control SetupDiCreateDeviceInfo
type DICD uint32
const (
DICD_GENERATE_ID DICD = 0x00000001
DICD_INHERIT_CLASSDRVS DICD = 0x00000002
)
// DIGCF flags control what is included in the device information set built by SetupDiGetClassDevs
type DIGCF uint32
const (