// d3dumddi.h
PFND3DDDI_VIDEOPROCESSBEGINFRAME Pfnd3dddiVideoprocessbeginframe;
HRESULT Pfnd3dddiVideoprocessbeginframe(
HANDLE hDevice,
[in] HANDLE hVideoProcess
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The VideoProcessBeginFrame function notifies the user-mode display driver that processing of a video frame can begin on the specified Microsoft DirectX Video Accelerator (VA) video processing device.
hDeviceA handle to the display device (graphics context).
hVideoProcess [in]The handle to the DirectX VA video processing device that should start processing the video frame. The CreateVideoProcessDevice function created this handle.
VideoProcessBeginFrame returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | Video frame processing successfully began. |
| E_OUTOFMEMORY | VideoProcessBeginFrame could not allocate the required memory for it to complete. |
The VideoProcessBeginFrame function notifies the user-mode display driver that its VideoProcessBlt function can be called on the specified video processing device.