IStreamSample::GetMediaStream (Windows CE 5.0)
This method retrieves a pointer to the media stream object that created the current sample.
HRESULT GetMediaStream(IMediaStream** ppMediaStream);
Parameters
- ppMediaStream
[in] Address of a pointer to an IMediaStream interface that will point to the media stream that created the current sample.
Return Values
Returns S_OK if successful or E_POINTER if ppMediaStream is invalid.
Remarks
If successful, this method increments the reference count of the media stream specified by ppMediaStream.
Requirements
DirectShow applications and DirectShow filters have different include file and link library requirements.
For more information, see Setting Up the Build Environment.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
See Also
Send Feedback on this topic to the authors