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

HRESULT SetSurfaceParameters(
  DWORD dwPitch,
  DWORD dwXOrigin,
  DWORD dwYOrigin


  • 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 Values

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.


DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

IVPBaseConfig Interface

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.