PFND3DDDI_CREATEEXTENSIONDEVICE callback function (d3dumddi.h)
The CreateExtensionDevice function creates a Microsoft DirectX Video Acceleration (DirectX VA) extension device.
Syntax
PFND3DDDI_CREATEEXTENSIONDEVICE Pfnd3dddiCreateextensiondevice;
HRESULT Pfnd3dddiCreateextensiondevice(
HANDLE hDevice,
D3DDDIARG_CREATEEXTENSIONDEVICE *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
pData [in, out]
A pointer to a D3DDDIARG_CREATEEXTENSIONDEVICE structure. On input, this structure contains information that the driver can use. On output, the driver specifies information in the structure that the Microsoft Direct3D runtime can use.
Return value
CreateExtensionDevice returns one of the following values:
Return code | Description |
---|---|
S_OK | The extension device is successfully created. |
E_OUTOFMEMORY | CreateExtensionDevice could not allocate the required memory for it to complete. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |
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