| Microsoft DirectX 8.1 (Visual Basic) | 
Generates a copy of the device's front buffer and places that copy in a system memory buffer provided by the application.
object.GetFrontBuffer( _ 
    DestSurface As Direct3DSurface8)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
| D3DERR_INVALIDCALL | 
| D3DERR_DEVICELOST | 
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
For more information, see Lost Devices.
The buffer returned in DestSurface will be filled with a representation of the front buffer, converted to the standard 32bpp format, D3DFMT_A8R8G8B8.
This method is the only way to capture an anti-aliased screen shot.