IVPNotify2 Interface

The IVPNotify2 interface 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.

The Overlay Mixer filter implements this interface so you do not need to implement it in most cases. Implement this interface when you need to alter the default behavior.

Use this interface in your application when you need to access video port properties.

Methods in Vtable Order

IUnknown methodsDescription
QueryInterface Retrieves pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.
IVPNotify2 methodsDescription
SetVPSyncMaster Sets whether the video port controls vertical synchronization of the VGA.
GetVPSyncMaster Checks whether the video port controls the synchronization of the VGA.

IVPNotify2::GetVPSyncMaster

IVPNotify2 Interface

Checks whether the video port controls the synchronization of the VGA.

Syntax

HRESULT GetVPSyncMaster(
    BOOL *pbVPSyncMaster
) PURE;

Parameters

pbVPSyncMaster
[out] Pointer to a value indicating whether the video port controls the vertical synchronization of the VGA monitor. TRUE if the port controls the monitor's synchronization; FALSE otherwise.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

IVPNotify2::SetVPSyncMaster

IVPNotify2 Interface

Sets whether the video port controls vertical synchronization of the VGA.

Syntax

HRESULT GetVPSyncMaster(
    BOOL bVPSyncMaster
) PURE;

Parameters

bVPSyncMaster
[in] Value specifying whether the video port controls the vertical synchronization of the VGA monitor. TRUE if the port controls the monitor's synchronization; FALSE otherwise.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.