CBaseControlWindow.CBaseControlWindow constructor
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Constructor method.
Syntax
CBaseControlWindow(
CBaseMediaFilter *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.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|