Previous | Next |
The GetStreamByNumber method retrieves a stream from the profile, if the stream number is specified.
Syntax
HRESULT GetStreamByNumber(
WORD wStreamNum,
IWMStreamConfig** ppConfig
);
Parameters
wStreamNum
[in] Word containing the stream number.
ppConfig
[out] Pointer to a pointer to an IWMStreamConfig object.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
E_INVALIDARG | The ppConfig parameter is NULL. |
E_FAIL | The method failed for an unspecified reason. |
Remarks
Stream numbers may only be in the range of 1-64.
See Also
Previous | Next |