ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / D2D1 Class / CreateFactory Method

In This Topic
    CreateFactory Method (D2D1)
    In This Topic
    HRESULT D2D1CreateFactory([In] D2D1_FACTORY_TYPE factoryType,[In] const GUID& riid,[In, Optional] const D2D1_FACTORY_OPTIONS* pFactoryOptions,[Out] void** ppIFactory)
    Syntax
    'Declaration
     
    Public Shared Function CreateFactory( _
       ByVal factoryType As FactoryType, _
       ByVal riid As Guid, _
       ByVal factoryOptionsRef As Nullable(Of FactoryOptions), _
       ByRef iFactoryOut As IntPtr _
    ) As Boolean
    public static bool CreateFactory( 
       FactoryType factoryType,
       Guid riid,
       Nullable<FactoryOptions> factoryOptionsRef,
       out IntPtr iFactoryOut
    )

    Parameters

    factoryType
    riid
    factoryOptionsRef
    iFactoryOut
    See Also