IRbtBaseAV::LockFilterGraph
Locks and retrieves a reference to the filter graph
HRESULT IRbtBaseAV::LockFilterGraph (
IUnknown ** fg,
BOOL readOnly
)
Parameters
fg
Returns pointer to the IUnknown interface on the filter graph
readOnly
Whether the filter graph will be modified
Return Values
Value
Meaning
S_OK
Filter graph locked successfully
E_PENDING
Filter graph is already locked or not ready
Remarks
If readOnly is
FALSE
, then the graph must be stopped.
The caller should call Release() on the returned pointer when finished with it