DirectShow Animated Header -- IVPNotify Interface DirectShow Animated Header -- IVPNotify Interface* Microsoft DirectShow SDK
*Index  *Topic Contents
*Previous Topic: IVPConfig Interface
*Next Topic: IVPNotify2 Interface

IVPNotify Interface


IVPNotify enables you to control the properties of a filter that uses a video port. This interface derives from the IVPBaseNotify interface. See also IVPBaseConfig and IVPConfig.

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.
IVPNotify methods Description
SetDeinterlaceMode Sets the deinterlacing mode (such as bob or weave).
GetDeinterlaceMode Retrieves the deinterlacing mode (such as bob or weave).


IVPNotify::GetDeinterlaceMode

IVPNotify Interface

Retrieves the mode (such as bob or weave).

HRESULT GetDeinterlaceMode(
  AMVP_MODE *pmode
  ) PURE;

Parameters
pmode
[out] Pointer to the retrieved mode. This value is a member of the AMVP_MODE enumerated data type.
Return Values

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

The current DirectShow implementation returns NOERROR for success or E_INVALIDARG if the argument is not valid.

Remarks

This method is not currently implemented and returns E_NOTIMPL.


IVPNotify::SetDeinterlaceMode

IVPNotify Interface

Sets the mode (such as bob or weave).

HRESULT SetDeinterlaceMode(
  AMVP_MODE mode
  ) PURE;

Parameters
mode
[in] Specified mode. This value is a member of the AMVP_MODE enumerated data type.
Return Values

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

The current DirectShow™ implementation returns NOERROR for success or E_INVALIDARG if mode is not a member of the AMVP_MODE enumerated data type.

Remarks

This method is not currently implemented and returns E_NOTIMPL.

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page