public static extern bool SetupDiGetDeviceRegistryProperty(IntPtr DeviceInfoSet, ref DM.SP_DEVINFO_DATA DeviceInfoData, int Property, ref int PrropertyRegDataType, ref char[] PropertyBuffer, int PropertyBufferSize, ref int RequireSize);
public static extern bool SetupDiEnumDeviceInfo(IntPtr DeviceInfoSet, uint MemberIndex, ref DM.SP_DEVINFO_DATA DeviceInfoData);
public static extern bool SetupDiGetDeviceInstanceId(IntPtr DeviceInfoSet, ref DM.SP_DEVINFO_DATA DeviceInfoData, StringBuilder DeviceInstanceId, int DeviceInstanceIdSize, out int RequiredSize);
public static extern bool SetupDiEnumDeviceInterfaces(IntPtr DeviceInfoSet, ref DM.SP_DEVINFO_DATA DeviceInfoData, ref Guid InterfaceClassGuid, uint MemberIndex, ref DM.SP_DEVICE_INTERFACE_DATA DeviceInterfaceData);