コード例 #1
0
 private AcmDriver(IntPtr hAcmDriver)
 {
     this.driverId = hAcmDriver;
     this.details  = default(AcmDriverDetails);
     this.details.structureSize = Marshal.SizeOf(this.details);
     MmException.Try(AcmInterop.acmDriverDetails(hAcmDriver, ref this.details, 0), "acmDriverDetails");
 }
コード例 #2
0
ファイル: AcmInterop.cs プロジェクト: zhangx3000/GFF
 public static extern MmResult acmDriverDetails(IntPtr hAcmDriver, ref AcmDriverDetails driverDetails, int reserved);