DCISURFACEINFO structure

typedef struct {

DWORD

dwSize;

// size of structure

DWORD

dwDCICaps;

// capability flags

DWORD

dwCompression;

// format of surface to be created

DWORD

dwMask[3];

// for nonstandard RGB surfaces

DWORD

dwWidth;

// width of surface

DWORD

dwHeight;

// height of surface

LONG

lStride;

// stride of surface

DWORD

dwBitCount;

// bit depth of format

DWORD

dwOffSurface;

// surface offset;

WORD

wSelSurface;

// surface selector

WORD

wReserved;

// for alignment -- to be ignored

DWORD

dwReserved1;

// reserved for Provider

DWORD

dwReserved2;

// reserved for DCIMAN

DWORD

dwReserved3;

// reserved for future


DCIRVAL (CALLBACK *BeginAccess) (LPVOID, LPRECT);

// BeginAccess Fn

void (CALLBACK *EndAccess) (LPVOID);

// EndAccess Fn

void (CALLBACK *DestroySurface) (LPVOID);

// DestroySurface Fn


} DCISURFACEINFO, FAR * LPDCISURFACEINFO;