Blt
Expand Minimize

CreateExtensionDevice routine

The CreateExtensionDevice function creates a Microsoft DirectX Video Acceleration (DirectX VA) extension device.

Syntax


PFND3DDDI_CREATEEXTENSIONDEVICE CreateExtensionDevice;

__checkReturn HRESULT APIENTRY CreateExtensionDevice(
  _In_     HANDLE hDevice,
  _Inout_  D3DDDIARG_CREATEEXTENSIONDEVICE *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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 codeDescription
S_OK

The extension device is successfully created.

E_OUTOFMEMORY

CreateExtensionDevice could not allocate the required memory for it to complete.

 

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_CREATEEXTENSIONDEVICE
DestroyExtensionDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft