コード例 #1
0
 public static extern bool SetupDiSetClassInstallParams(
     SafeDeviceInfoSetHandle deviceInfoSet,
     [In()] ref DeviceInfoData deviceInfoData,
     [In()] ref PropertyChangeParameters classInstallParams,
     int classInstallParamsSize);
コード例 #2
0
 public static extern bool SetupDiEnumDeviceInfo(
     SafeDeviceInfoSetHandle deviceInfoSet,
     int memberIndex,
     ref DeviceInfoData deviceInfoData);
コード例 #3
0
 public static extern bool SetupDiGetDeviceInstanceId(
     IntPtr DeviceInfoSet,
     ref DeviceInfoData did,
     [MarshalAs(UnmanagedType.LPTStr)] StringBuilder DeviceInstanceId,
     int DeviceInstanceIdSize,
     out int RequiredSize);
コード例 #4
0
 public static extern bool SetupDiCallClassInstaller(
     DiFunction installFunction,
     SafeDeviceInfoSetHandle deviceInfoSet,
     [In()] ref DeviceInfoData deviceInfoData);