ID2D1Device3::CreateDeviceContext method (d2d1_3.h)
Creates a new ID2D1DeviceContext3 from this Direct2D device.
HRESULT CreateDeviceContext(
D2D1_DEVICE_CONTEXT_OPTIONS options,
[out] ID2D1DeviceContext3 **deviceContext3
);
options
Type: D2D1_DEVICE_CONTEXT_OPTIONS
The options to be applied to the created device context.
[out] deviceContext3
Type: ID2D1DeviceContext3**
When this method returns, contains a pointer to the new device context.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1_3.h |
Library | D2d1.lib |
DLL | D2d1.dll |