IDirect3DVideoDevice9::GetDXVAGuids method
Gets a list of DirectX Video Acceleration (DXVA) profiles that are supported by the display driver.
Syntax
HRESULT GetDXVAGuids(
DWORD *pNumGuids,
GUID *pGuids
);
Parameters
-
pNumGuids
-
On input, specifies the number of elements in the pGuids array. If pGuids is NULL, the value of
*pNumGuids
must be zero.On output, if pGuids is NULL, pNumGuids receives the number of restricted-mode DXVA profiles. Otherwise, pNumGuids receives the actual number of GUIDs that are copied to the pGuids array.
-
pGuids
-
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 dxva.h, and are documented in the DXVA 1.0 specification.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Call this method twice. On the first call, set pGuids to NULL. The pNumGuids 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 pGuids to the address of the array. The method fills the array with the list of DXVA profile GUIDs.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
See also