SetupApiSetupDiDestroyDeviceInfoList Method
Deletes a device information set and frees all associated memory.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("SetupApi.dll", SetLastError = true)]
public static bool SetupDiDestroyDeviceInfoList(
IntPtr deviceInfoSet
)
<DllImportAttribute("SetupApi.dll", SetLastError := true>]
Public Shared Function SetupDiDestroyDeviceInfoList (
deviceInfoSet As IntPtr
) As Boolean
Dim deviceInfoSet As IntPtr
Dim returnValue As Boolean
returnValue = SetupApi.SetupDiDestroyDeviceInfoList(deviceInfoSet)
public:
[DllImportAttribute(L"SetupApi.dll", SetLastError = true)]
static bool SetupDiDestroyDeviceInfoList(
IntPtr deviceInfoSet
)
[<DllImportAttribute("SetupApi.dll", SetLastError = true)>]
static member SetupDiDestroyDeviceInfoList :
deviceInfoSet : IntPtr -> bool
No code example is currently available or this language may not be supported.
- deviceInfoSet IntPtr
-
A handle to the 'device information set' to delete.
Boolean
Returns
if it is successful, or
otherwise.
To get extended error information, call
GetLastWin32Error.