/// <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 = System.Runtime.InteropServices.Marshal.SizeOf(details); MmException.Try(AcmInterop.acmDriverDetails(hAcmDriver, ref details, 0), "acmDriverDetails"); }
private List<AcmFormat> tempFormatsList; // used by enumerator #endregion Fields #region Constructors /// <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 = System.Runtime.InteropServices.Marshal.SizeOf(details); MmException.Try(AcmInterop.acmDriverDetails(hAcmDriver, ref details, 0), "acmDriverDetails"); }
public static extern MmResult acmDriverDetails(IntPtr hAcmDriver, ref AcmDriverDetails driverDetails, int reserved);