Esempio n. 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");
 }
Esempio n. 2
0
        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 = Marshal.SizeOf(details);
            MmException.Try(AcmInterop.acmDriverDetails(hAcmDriver, ref details, 0), "acmDriverDetails");
        }
Esempio n. 3
0
 public static extern MmResult acmDriverDetails(IntPtr hAcmDriver, ref AcmDriverDetails driverDetails, int reserved);