ID3D12VideoDevice3::CreateVideoEncoderHeap method (d3d12video.h)

Creates a new instance of ID3D12VideoEncoderHeap.

Syntax

HRESULT CreateVideoEncoderHeap(
  const D3D12_VIDEO_ENCODER_HEAP_DESC *pDesc,
  REFIID                              riid,
  void                                **ppVideoEncoderHeap
);

Parameters

pDesc

A D3D12_VIDEO_ENCODER_HEAP_DESC representing the configuration parameters for the video encoder heap.

riid

The globally unique identifier (GUID) for the video encoder heap interface. Expected value: IID_ID3D12VideoEncoderHeap.

ppVideoEncoderHeap

A pointer to a memory block that receives a pointer to the video encoder heap interface.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header d3d12video.h