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](aa743619(v=vs.85).md)

    Pointer to a surface from which to retrieve the bounds.