Previous | Next |
The RemoveStream method removes a stream from the list.
Syntax
HRESULT RemoveStream(
WORD wStreamNum
);
Parameters
wStreamNum
[in] Word containing the stream number.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
NS_E_NOMATCHING_ELEMENT | The wStreamNum parameter is invalid. |
Remarks
Stream numbers may only be in the range of 1-64.
The RemoveStream() method will alswo remove this stream from any Mutual Exclusion object that the stream belongs to.
See Also
Previous | Next |