Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Retrieves a supported video surface type.
HRESULT GetAvailableSurfaceTypeByIndex(
[in] DWORD dwTypeIndex,
[out] DXVA2_SurfaceType *pdwType
);
[in] dwTypeIndex
Zero-based index of the surface type to retrieve. Surface types are indexed in order of preference, starting with the most preferred type.
[out] pdwType
Receives a member of the DXVA2_SurfaceType enumeration that specifies the surface type.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The index was out of range. |
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | dxva2api.h |
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now