Microsoft DirectX 9.0 |
Constructor method.
Syntax
CBaseControlVideo(
CBaseFilter *pFilter,
CCritSec *pInterfaceLock,
TCHAR *pName,
LPUNKNOWN pUnk,
HRESULT *phr
);
Parameters
pFilter
Pointer to the owning media filter object.
pInterfaceLock
Pointer to the critical section to use for locking.
pName
Pointer to the object description.
pUnk
Pointer to the controlling IUnknown interface, if the object is part of an aggregate; otherwise, must be NULL.
phr
Pointer to a variable that receives an HRESULT value indicating the success or failure of the constructor method.
Return Value
No return value.
Remarks
The object implements the IBasicVideo control interface.
All the interface methods from IBasicVideo that this class implements require that the filter be connected correctly. For this reason, the class is passed a pin with which it should synchronize with. Whenever an interface method is called, the object determines that the pin is still connected.
See Also