// AForge Direct Show Library // AForge.NET framework // // Copyright © Andrew Kirillov, 2007 // andrew.kirillov@gmail.com // namespace AForge.Video.DirectShow.Internals { using System; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; /// /// The ICreateDevEnum interface creates an enumerator for devices within a particular category, /// such as video capture devices, audio capture devices, video compressors, and so forth. /// /// [ComImport, Guid( "29840822-5B84-11D0-BD3B-00A0C911CE86" ), InterfaceType( ComInterfaceType.InterfaceIsIUnknown )] internal interface ICreateDevEnum { /// /// Creates a class enumerator for a specified device category. /// /// /// Specifies the class identifier of the device category. /// Address of a variable that receives an IEnumMoniker interface pointer /// Bitwise combination of zero or more flags. If zero, the method enumerates every filter in the category. /// /// Return's HRESULT error code. /// [PreserveSig] int CreateClassEnumerator( [In] ref Guid type, [Out] out IEnumMoniker enumMoniker, [In] int flags ); } }