diff options
Diffstat (limited to 'setupapi/types_windows.go')
-rw-r--r-- | setupapi/types_windows.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/setupapi/types_windows.go b/setupapi/types_windows.go index ef23614..83a4753 100644 --- a/setupapi/types_windows.go +++ b/setupapi/types_windows.go @@ -31,11 +31,6 @@ type HSPFILEQ uintptr // DevInfo holds reference to device information set type DevInfo windows.Handle -// Close function deletes a device information set and frees all associated memory. -func (h DevInfo) Close() error { - return SetupDiDestroyDeviceInfoList(h) -} - // SP_DEVINFO_DATA is a device information structure (references a device instance that is a member of a device information set) type SP_DEVINFO_DATA struct { Size uint32 |