コード例 #1
0
 public static extern IntPtr SetupDiOpenDevRegKey(
     IntPtr hDeviceInfoSet,
     ref Win32Wrapper.CTypes.SP_DEVINFO_DATA DeviceInfoData,
     UInt32 Scope,
     UInt32 HwProfile,
     UInt32 KeyType,
     UInt32 samDesired);
コード例 #2
0
 public static extern Boolean SetupDiGetDeviceInterfaceDetail(
     IntPtr hDevInfo,
     ref Win32Wrapper.CTypes.SP_DEVICE_INTERFACE_DATA deviceInterfaceData, //ref
     ref Win32Wrapper.CTypes.SP_DEVICE_INTERFACE_DETAIL_DATA deviceInterfaceDetailData,
     UInt32 deviceInterfaceDetailDataSize,
     out UInt32 requiredSize,
     ref Win32Wrapper.CTypes.SP_DEVINFO_DATA deviceInfoData
     );
コード例 #3
0
 public static extern bool SetupDiGetDeviceRegistryProperty(
     IntPtr DeviceInfoSet,
     ref Win32Wrapper.CTypes.SP_DEVINFO_DATA DeviceInfoData, //ref
     UInt32 Property,
     ref UInt32 PropertyRegDataType,
     IntPtr PropertyBuffer,
     UInt32 PropertyBufferSize,
     ref UInt32 RequiredSize
     );
コード例 #4
0
 public static extern Boolean SetupDiEnumDeviceInterfaces(
     IntPtr hDevInfo,
     IntPtr devInfo,
     ref Guid interfaceClassGuid, //ref
     UInt32 memberIndex,
     ref Win32Wrapper.CTypes.SP_DEVICE_INTERFACE_DATA deviceInterfaceData
     );