typedef struct _VIDEOMEMORY{ DWORD dwFlags; FLATPTR fpStart; union{ FLATPT fpEnd; DWORD dwWidth; }; DDSCAPS ddsCaps; DDSCAPS ddsCapsAlt; DWORD dwHeight; } VIDEOMEMORY;
The VIDEOMEMORY structure describes the size and capabilities of a chunk of video memory that the driver controls.
Bitfield |
Meaning |
VIDMEM_ISLINEAR |
The video memory is a continguous block of memory. |
VIDMEM_ISRECTANGULAR |
The video memory is rectangular. |
The driver returns a list of VIDEOMEMORY structures from its DrvGetDirectDrawInfo implementation. This list provides a complete description of the offscreen memory that the driver controls.