Partager via


IVPBaseConfig::SetSurfaceParameters (Compact 2013)

3/26/2014

This method tells the capture driver about the surface created on its behalf by the Overlay Mixer or VBI surface filter.

Syntax

HRESULT SetSurfaceParameters(
  DWORD dwPitch,
  DWORD dwXOrigin,
  DWORD dwYOrigin
) PURE;

Parameters

  • dwPitch
    [in] Pitch of the surface. Distance (or pitch) in pixels between the start pixels of two consecutive lines of the surface.
  • dwXOrigin
    [in] X-value of the pixel at which valid data starts.
  • dwYOrigin
    [in] Y-value of the pixel at which valid data starts.

Return Value

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

The current default implementation returns NOERROR if the call completed successfully, or E_NOTIMPL if the method is not implemented.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IVPBaseConfig Interface