IMFStreamSink::GetIdentifier method (mfidl.h)
Retrieves the stream identifier for this stream sink.
Syntax
HRESULT GetIdentifier(
[out] DWORD *pdwIdentifier
);
Parameters
[out] pdwIdentifier
Receives the stream identifier. If this stream sink was added by calling IMFMediaSink::AddStreamSink, the stream identifier is in the dwStreamSinkIdentifier parameter of that method. Otherwise, the media sink defines the identifier.
Return value
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 media sink's Shutdown method has been called. |
|
This stream was removed from the media sink and is no longer valid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfuuid.lib |