VIDMEMINFO

The VIDMEMINFO structure contains the display memory information.

typedef struct _VIDMEMINFO
{
FLATPTR          fpPrimary;
DWORD            dwFlags;
DWORD            dwDisplayWidth;
DWORD            dwDisplayHeight;
LONG             lDisplayPitch;
DDPIXELFORMAT    ddpfDisplay;
DWORD            dwOffscreenAlign;
DWORD            dwOverlayAlign;
DWORD            dwTextureAlign;
DWORD            dwZBufferAlign;
DWORD            dwAlphaAlign;
DWORD            dwNumHeaps;
LPVIDMEM         pvmList;
} VIDMEMINFO;
typedef VIDMEMINFO FAR *LPVIDMEMINFO;

Members

  • fpPrimary
    Pointer to the primary surface.
  • dwFlags
    This member is currently unused.
  • dwDisplayWidth
    Indicates the current display width.
  • dwDisplayHeight
    Indicates the current display height.
  • lDisplayPitch
    Indicates the current display pitch.
  • ddpfDisplay
    Pointer to a DDPIXELFORMAT structure that indicates the pixel format of the display.
  • dwOffscreenAlign
    Indicates the byte alignment for offscreen surfaces.
  • dwOverlayAlign
    Indicates the byte alignment for overlays.
  • dwTextureAlign
    Indicates the byte alignment for textures.
  • dwZBufferAlign
    Indicates the byte alignment for z-buffers.
  • dwAlphaAlign
    Indicates the byte alignment for alpha.
  • dwNumHeaps
    Indicates the number of memory heaps in pvmList.
  • pvmList
    Pointer to an array of heaps.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.