ID3D12VideoDevice3::CreateVideoEncoder method (d3d12video.h)
Creates a new instance of ID3D12VideoEncoder.
Syntax
HRESULT CreateVideoEncoder(
const D3D12_VIDEO_ENCODER_DESC *pDesc,
REFIID riid,
void **ppVideoEncoder
);
Parameters
pDesc
A D3D12_VIDEO_ENCODER_DESC representing the configuration parameters for the video encoder.
riid
The globally unique identifier (GUID) for the video encoder interface. Expected value: IID_ID3D12VideoEncoder.
ppVideoEncoder
A pointer to a memory block that receives a pointer to the video encoder interface.
Return value
Returns S_OK on success.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | d3d12video.h |