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: IDXSurfacePointer to a surface from which to retrieve the bounds.