diff options
Diffstat (limited to 'tun/wintun/setupapi/types_windows.go')
-rw-r--r-- | tun/wintun/setupapi/types_windows.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tun/wintun/setupapi/types_windows.go b/tun/wintun/setupapi/types_windows.go index 6ceda09..136b4be 100644 --- a/tun/wintun/setupapi/types_windows.go +++ b/tun/wintun/setupapi/types_windows.go @@ -556,3 +556,13 @@ const ( SPDRP_MAXIMUM_PROPERTY SPDRP = 0x00000025 // Upper bound on ordinals ) + +const ( + CR_SUCCESS = 0x0 + CR_BUFFER_SMALL = 0x1a +) + +const ( + CM_GET_DEVICE_INTERFACE_LIST_PRESENT = 0 // only currently 'live' device interfaces + CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES = 1 // all registered device interfaces, live or not +) |