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 of a DrawDib DC.
lpbi
Address of 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Import Library: Use vfw32.lib.

See Also

DrawDib Overview, DrawDib Functions, BITMAPINFO, BITMAPINFOHEADER