Share via


DrawDibGetBuffer

The DrawDibGetBuffer function retrieves the location of the buffer used by DrawDib for decompression.

LPVOID DrawDibGetBuffer(
  HDRAWDIB hdd,             
  LPBITMAPINFOHEADER lpbi,  
  DWORD dwSize,             
  DWORD dwFlags             
);

Parameters

hdd

Handle to a DrawDib DC.

lpbi

Pointer to a BITMAPINFO structure. This structure is made up of a BITMAPINFOHEADER structure and a 256-entry table defining the colors used by the bitmap.

dwSize

Size, in bytes, of the BITMAPINFO structure pointed to by lpbi

dwFlags

Reserved; must be zero.

Return Values

Returns the address of the buffer or NULL if no buffer is used. if lpbr is not NULL, it is filled with a copy of the BITMAPINFO structure describing the buffer.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.

See Also

DrawDib, DrawDib Functions, BITMAPINFO, BITMAPINFOHEADER