¡@

Home 

c# Programming Glossary: safedeviceinfosethandle

Win32 API function to programmatically enable/disable device

http://stackoverflow.com/questions/1438371/win32-api-function-to-programmatically-enable-disable-device

bool SetupDiCallClassInstaller DiFunction installFunction SafeDeviceInfoSetHandle deviceInfoSet In ref DeviceInfoData deviceInfoData DllImport.. public static extern bool SetupDiEnumDeviceInfo SafeDeviceInfoSetHandle deviceInfoSet int memberIndex ref DeviceInfoData deviceInfoData.. CharSet.Unicode SetLastError true public static extern SafeDeviceInfoSetHandle SetupDiGetClassDevs In ref Guid classGuid MarshalAs UnmanagedType.LPWStr..