Microsoft DirectX 9.0

CBaseFilter::CBaseFilter

Constructor method.

Syntax

CBaseFilter(
    const TCHAR *pName,
    LPUNKNOWN pUnk,
    CCritSec *pLock,
    REFCLSID clsid
);

Parameters

pName

Pointer to a string containing the name of the filter, for debugging purposes.

pUnk

Pointer to the owner of this object. If the object is aggregated, pass a pointer to the aggregating object's IUnknown interface. Otherwise, set this parameter to NULL.

pLock

Pointer to a CCritSec lock, used to serialize state changes.

clsid

Class identifier of the object.

Remarks

For the critical section object, you would typically do one of the following:

See Also