Microsoft DirectX 8.1 (C++)

IMediaDet::get_OutputStreams

The get_OutputStreams method retrieves the number of output streams contained in the media source.

Syntax

HRESULT get_OutputStreams(
    long *pVal
);

Parameters

pVal

[out, retval] Pointer to a variable that receives the number of output streams.

Return Value

Returns one of the following HRESULT values:

Value Description
S_OK Success.
E_INVALIDARG Invalid argument.
E_POINTER NULL pointer argument.

Remarks

Before calling this method, call IMediaDet::put_Filename to set the file name.

If the media detector is in bitmap grab mode, this method returns E_INVALIDARG. For more information, see IMediaDet::EnterBitmapGrabMode.

See Also