Share via


IConfigAviMux::GetMasterStream

 
Microsoft DirectShow 9.0

IConfigAviMux::GetMasterStream

The GetMasterStream method queries which stream will be used to synchronize the other streams in the file.

Syntax

  HRESULT GetMasterStream(
  LONG *pStream
);

Parameters

pStream

[out] Pointer to a variable that receives the index of the master stream, or -1 if no master stream was set.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument.
S_OK Success.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also