DDCOMPBUFFERINFO
TOC
Collapse the table of content
Expand the table of content

DDCOMPBUFFERINFO structure

The DDCOMPBUFFERINFO structure contains driver-supplied information regarding compression buffers.

Syntax


typedef struct _DDCOMPBUFFERINFO {
  DWORD         dwSize;
  DWORD         dwNumCompBuffers;
  DWORD         dwWidthToCreate;
  DWORD         dwHeightToCreate;
  DWORD         dwBytesToAllocate;
  DDSCAPS2      ddCompCaps;
  DDPIXELFORMAT ddPixelFormat;
} DDCOMPBUFFERINFO, *LPDDCOMPBUFFERINFO;

Members

dwSize

Specifies the size in bytes of this DDCOMPBUFFERINFO structure.

dwNumCompBuffers

Indicates the number of surfaces of this type required for decompression.

dwWidthToCreate

Indicates the width in pixels of the surface of this type to create.

dwHeightToCreate

Indicates the height in pixels of the surface of this type to create.

dwBytesToAllocate

Indicates the total number of bytes used by each surface.

ddCompCaps

Points to a DDSCAPS2 structure that contains the capabilities to use when creating surfaces of this type. This allows the driver to specify the type of memory to use when creating these surfaces.

ddPixelFormat

Points to a DDPIXELFORMAT structure that contains the pixel formats to use when creating surfaces of this type.

Remarks

This structure passes this information to the DD_GETMOCOMPCOMPBUFFDATA structure.

Requirements

Header

Ddrawint.h (include Winddi.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft