Microsoft DirectX 9.0

IMediaDet::get_CurrentStream

The get_CurrentStream method retrieves the stream number currently used by the media detector.

Syntax

HRESULT get_CurrentStream(
    long *pVal
);

Parameters

pVal

[out, retval] Pointer to a variable that receives the current stream number.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also