Share via


ISurface::get_Surface

The get_Surface method retrieves an IDirect3DSurface9 interface that points to the video surface.

Syntax

HRESULT get_Surface(
  IDirect3DSurface9**  ppSurface
);

Parameters

ppSurface

[out]  Pointer to an IDirect3DSurface9 interface pointer. The transform must release this interface when finished with it.

Return Values

The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.

Requirements

Client: Windows Vista

Header: Include gputransformplugin.h and GPUPipelineTime.h.

Library: Use GPUPipelineVC7.lib (for Visual Studio .NET) or GPUPipelineVC8.lib (for Visual Studio 2005).

See Also