This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.
Sets the surface's volume boundary structure.
HRESULT SetBounds( const DXBNDS *pBounds );
- [in] Pointer to the DXBNDS boundary structure that contains this surface's bounding volume. This pointer can be NULL to clear a previous call to IDXSurfaceModifier::SetBounds.
Returns an HRESULT value that depends on the implementation of the interface.
The IDXSurfaceModifier::SetBounds method is only used to set the height and width of the entire visible surface; it does not specify where the image will be blitted on the output surface.
If there is a set background surface, this call will fail if the bounds specified are any size other than the bounds of the background surface. If no background surface is set, the bounds can be any valid size.