ID2D1Factory5::CreateDevice method (d2d1_3.h)
Creates an ID2D1Device4 object.
Syntax
HRESULT CreateDevice(
[in] IDXGIDevice *dxgiDevice,
[out] ID2D1Device4 **d2dDevice4
);
Parameters
[in] dxgiDevice
Type: IDXGIDevice*
The IDXGIDevice object used when creating the ID2D1Device4.
[out] d2dDevice4
Type: ID2D1Device4**
The requested ID2D1Device4 object.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1_3.h |
DLL | D2d1.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for