procedure GetAvailableVidMem( const Caps: TDDSCaps; var Total, Free: DWord );
Calls the interface GetAvailableVidMem method to get the total amount of memory available and the amount of display memory currently free. See IDirectDraw2::GetAvailableVidMem for more information.