The IDirectDraw2 interface extends the IDirectDraw interface by adding the IDirectDraw2::GetAvailableVidMem method. This method enables you to query the display hardware for information about the status of its total available video memory and how much of that memory is available to be used by a surface of a given type.