ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct3D9 Namespace / Direct3D Class / CreateDevice Method

In This Topic
    CreateDevice Method (Direct3D)
    In This Topic
    HRESULT IDirect3D9::CreateDevice([In] unsigned int Adapter,[In] D3DDEVTYPE DeviceType,[In] HWND hFocusWindow,[In] D3DCREATE BehaviorFlags,[In, Buffer] D3DPRESENT_PARAMETERS* pPresentationParameters,[Out, Fast] IDirect3DDevice9** ppReturnedDeviceInterface)
    Syntax
    'Declaration
     
    Public Function CreateDevice( _
       ByVal adapter As Integer, _
       ByVal deviceType As DeviceType, _
       ByVal hFocusWindow As IntPtr, _
       ByVal behaviorFlags As CreateFlags, _
       ByVal presentationParametersRef() As PresentParameters _
    ) As Device

    Parameters

    adapter
    deviceType
    hFocusWindow
    behaviorFlags
    presentationParametersRef
    See Also