Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Gets the index of the subresource that is associated with this media buffer.
Syntax
HRESULT GetSubresourceIndex(
[out] UINT *puSubresource
);
Parameters
[out] puSubresource
Receives the zero-based index of the subresource.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The subresource index is specified when you create the media buffer object. See MFCreateDXGISurfaceBuffer.
For more information about texture subresources, see ID3D11Device::CreateTexture2D.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | mfobjects.h (include Mfidl.h) |