Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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) |