ID2D1Device5::CreateDeviceContext method
Creates a new device context with no initially assigned target.
Syntax
HRESULT CreateDeviceContext( D2D1_DEVICE_CONTEXT_OPTIONS options, [out] ID2D1DeviceContext5 **deviceContext5 );
Parameters
- options
-
Type: D2D1_DEVICE_CONTEXT_OPTIONS
Options for creating the device context.
- deviceContext5 [out]
-
Type: ID2D1DeviceContext5**
The created device context.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
|
Header |
|
|---|---|
|
DLL |
|
See also
Show: