| Platform SDK: DirectX |
Applications use the methods of the DirectDraw7 class to create DirectDraw objects and work with system-level variables. This section is a reference to the methods of this class. For a conceptual overview, see The DirectDraw Object.
The methods of the DirectDraw7 class can be organized into the following groups:
| Cooperative levels | SetCooperativeLevel |
| TestCooperativeLevel | |
| Creating objects | CreateClipper |
| CreatePalette | |
| CreateSurface | |
| CreateSurfaceFromFile | |
| CreateSurfaceFromResource | |
| GetDirect3D | |
| LoadPaletteFromBitmap | |
| Device capabilities | GetCaps |
| Display modes | GetDisplayMode |
| GetDisplayModesEnum | |
| GetMonitorFrequency | |
| RestoreDisplayMode | |
| SetDisplayMode | |
| WaitForVerticalBlank | |
| Display status | GetScanLine |
| GetVerticalBlankStatus | |
| Miscellaneous | GetAvailableTotalMem |
| GetDeviceIdentifier | |
| GetFourCCCodes | |
| GetFreeMem | |
| GetNumFourCCCodes | |
| Surface management | DuplicateSurface |
| FlipToGDISurface | |
| GetGDISurface | |
| GetSurfaceFromDC | |
| GetSurfacesEnum | |
| RestoreAllSurfaces |
The DirectDraw7 class extends the features of previous versions of the class by offering methods enabling more flexible surface management than previous versions.