IDirect3DRMFrame::GetSceneBackgroundDepth

HRESULT GetSceneBackgroundDepth(

LPDIRECTDRAWSURFACE * lplpDDSurface);

Retrieves the current background-depth buffer for the scene.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

lplpDDSurface

Address of a pointer that will be initialized with the address of a DirectDraw surface representing the current background-depth buffer.