PFND3D12DDI_EXECUTE_VIDEO_EXTENSION_COMMAND_0063 callback function (d3d12umddi.h)
Records a command to execute a video extension command into a command list.
Syntax
PFND3D12DDI_EXECUTE_VIDEO_EXTENSION_COMMAND_0063 Pfnd3d12ddiExecuteVideoExtensionCommand0063;
HRESULT Pfnd3d12ddiExecuteVideoExtensionCommand0063(
D3D12DDI_HCOMMANDLIST hDrvCommandList,
D3D12DDI_HVIDEOEXTENSIONCOMMAND_0063 hDrvVideoExtensionCommand,
const void *pExecutionParameters,
SIZE_T ExecutionParametersSizeInBytes
)
{...}
Parameters
hDrvCommandList
Handle for the command list.
hDrvVideoExtensionCommand
Handle to the video extension command to initialize.
pExecutionParameters
Pointer to the initialization parameters structure. Parameters for this structure must match the parameter enumeration for D3D12DDI_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE_0063_EXECUTION.
ExecutionParametersSizeInBytes
The size of the initialization parameters structure in bytes.
Return value
The following error codes are allowed:
Return value | Description |
---|---|
S_OK | Initialization succeeded. |
D3DDDIERR_APPLICATIONERROR | The caller has attempted to initialize the command incorrectly. For example, provided an invalid argument. This error puts the command list in error and an error code is returned from the Close method on the API command list. |
D3DDDIERR_DEVICEREMOVED | Cannot initialize the command because the device is in a device removed state. If the runtime as not already realized device removed, this will set the device and command list in error. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 |
Header | d3d12umddi.h |