예제 #1
0
 /// <summary>
 /// Creates a new ACM Driver object
 /// </summary>
 /// <param name="hAcmDriver">Driver handle</param>
 private AcmDriver(IntPtr hAcmDriver)
 {
     driverId = hAcmDriver;
     details  = new AcmDriverDetails();
     details.structureSize = Marshal.SizeOf(details);
     MmException.Try(AcmInterop.acmDriverDetails(hAcmDriver, ref details, 0), "acmDriverDetails");
 }
예제 #2
0
 /// <summary>
 /// Creates a new ACM Driver object
 /// </summary>
 /// <param name="hAcmDriver">Driver handle</param>
 private AcmDriver(IntPtr hAcmDriver)
 {
     driverId = hAcmDriver;
     details = new AcmDriverDetails();
     details.structureSize = Marshal.SizeOf(details);
     MmException.Try(AcmInterop.acmDriverDetails(hAcmDriver, ref details, 0), "acmDriverDetails");
 }
예제 #3
0
 public static extern MmResult acmDriverDetails(IntPtr hAcmDriver, ref AcmDriverDetails driverDetails, int reserved);