|Microsoft DirectX 9.0|
The SetSurfaceParameters method informs the device of the layout of the overlay surface. The downstream filter (the Overlay Mixer, VBI Surface Allocator, or Video Port Manager) calls this method after it creates the overlay surface.
HRESULT SetSurfaceParameters( DWORD dwPitch, DWORD dwXOrigin, DWORD dwYOrigin ) PURE;
[in] Specifies the stride of the surface (also called the pitch), in pixels.
[in] Specifies the X-coordinate of the pixel at which valid data starts.
[in] Specifies the Y-coordinate of the pixel at which valid data starts.
Returns S_OK if successful, or E_NOTIMPL.