Previous | Next |
The GetStreams method retrieves an array of stream numbers that make up the list.
Syntax
HRESULT GetStreams(
WORD* pwStreamNumArray,
WORD* pcStreams
);
Parameters
pwStreamNumArray
[out] Pointer to a word array containing the stream numbers.
pcStreams
[in, out] On input, specifies a pointer to a variable containing the size of the pwStreamNumArray array. On output, if the method is successful, the variable contains the number of stream numbers entered into pwStreamNumArray by the method.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
E_POINTER | The pcStreams parameter is NULL. |
ASF_E_BUFFERTOOSMALL | The input value of pcStreams is not large enough. |
Remarks
Stream numbers may only be in the range of 1-64.
See Also
Previous | Next |