SetToSurfaceBounds method

Sets the value of the data object to the bounds of the specified surface.

Syntax

HRESULT retVal = object.SetToSurfaceBounds(pDXSurface);

Parameters

  • pDXSurface [in]
    Type: IDXSurface

    Pointer to a surface from which to retrieve the bounds.