CreateDeviceContext Method (D2D1)
In This Topic
HRESULT D2D1CreateDeviceContext([In] IDXGISurface* dxgiSurface,[In, Optional] const D2D1_CREATION_PROPERTIES* creationProperties,[Out, Fast] ID2D1DeviceContext** d2dDeviceContext)
Syntax
'Declaration
Public Shared Function CreateDeviceContext( _
ByVal As Surface, _
ByVal As System.Nullable(Of CreationProperties) _
) As DeviceContext
public static DeviceContext CreateDeviceContext(
Surface ,
System.Nullable<CreationProperties>
)
Parameters
- dxgiSurface
- creationProperties
See Also