// d3dumddi.h
typedef struct _DXVAHDDDI_SURFACE {
[in] HANDLE hResource;
[in] UINT SubResourceIndex;
} DXVAHDDDI_SURFACE;
View the official Windows Driver Kit DDI referenceNo description available.
The DXVAHDDDI_SURFACE structure describes a surface.
hResource [in]A handle to the resource that contains the surface.
SubResourceIndex [in]The zero-based index into the resource, which the handle in the hResource member specifies. The SubResourceIndex index indicates the surface.
DXVAHDDDI_SURFACE structures are used to describe surfaces in members of the DXVAHDDDI_STREAM_DATA and D3DDDIARG_DXVAHD_VIDEOPROCESSBLTHD structures in a call to the driver's VideoProcessBltHD function.
D3DDDIARG_DXVAHD_VIDEOPROCESSBLTHD