The GetVideoAcceleratorGUIDs method gets a list of DirectX Video Acceleration (DXVA) profiles supported by the display driver.
HRESULT GetVideoAcceleratorGUIDs( LPDWORD pdwNumGuidsSupported, LPGUID pGuidsSupported );
On input, specifies the number of elements in the pGuidsSupported array.
If pGuidsSupported is NULL, the value of
*pdwNumGuidsSupported must be zero.
On output, if pGuidsSupported is NULL, pdwNumGuidsSupported receives the number of restricted-mode DXVA profiles. Otherwise, pdwNumGuidsSupported receives the actual number of GUIDs copied to the pGuidsSupported array.
Address of an array of GUIDs, or NULL. If the value is non-NULL, the array receives a list of GUIDs that specify restricted-mode DXVA profiles. These GUIDs are defined in the header file dxva.h, and are documented in the DXVA 1.0 specification.
Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.
||Argument is invalid.|
||The method is not supported.|
||NULL pointer argument.|
||Invalid state. The video renderer has not created the Direct3D or DirectDraw device.|
Call this method twice. On the first call, set pGuidsSupported to NULL. The pdwNumGuidsSupported parameter receives the number of DXVA profile GUIDs. Allocate an array of GUIDs with the required size and call the method again. This time, set pGuidsSupported to the address of the array. The method fills the array with the list of DXVA profile GUIDs.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|