Index Topic Contents | |||
Previous Topic: IVPNotify Next Topic: DirectShow C++ Class Library |
IVPNotify2 Interface
IVPNotify2 enables you to control the synchronization properties of a filter that uses a video port. This interface derives from the IVPNotify interface. See also IVPBaseNotify, IVPBaseConfig, and IVPConfig.Use this interface to manipulate the video color controls involved in mixing various video streams.
When to Implement
The Overlay Mixer filter implements this interface so you won't need to implement it in most cases. Implement this interface when you need to alter the default behavior.
When to Use
Use this interface in your application when you need to access video port properties.
Methods in Vtable Order
IUnknown methods Description QueryInterface Retrieves pointers to supported interfaces. AddRef Increments the reference count. Release Decrements the reference count.
IVPNotify2 methods Description SetVPSyncMaster Sets the VideoPort as a sync master of the VGA (the vsync of the VGA is controlled by the VideoPort). GetVPSyncMaster Checks whether the VideoPort is the sync master of the VGA. IVPNotify2 Interface
IVPNotify2::GetVPSyncMasterRetrieves the flag specifying whether the VideoPort is the sync master of the VGA (the vsync of the VGA is controlled by the VideoPort).
HRESULT GetVPSyncMaster(
BOOL bVPSyncMaster
) PURE;
Parameters
- bVPSyncMaster
- [out] A flag specifying whether the video port controls the vertical synchronization of the VGA. TRUE if the port controls the monitor's synchronization; otherwise, FALSE.
Return Values
Returns an HRESULT value that depends on the implementation of the interface.
IVPNotify2 Interface
IVPNotify2::SetVPSyncMasterSets the flag specifying the VideoPort as a sync master of the VGA (the vsync of the VGA is controlled by the VideoPort).
HRESULT GetVPSyncMaster(
BOOL bVPSyncMaster
) PURE;
Parameters
- bVPSyncMaster
- [in] A flag specifying whether the video port controls the vertical synchronization of the VGA. TRUE if the port controls the monitor's synchronization; otherwise, FALSE.
Return Values
Returns an HRESULT value that depends on the implementation of the interface.
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.