DrawDibGetBuffer function (vfw.h)

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

Syntax

LPVOID VFWAPI 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 value

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib
DLL Msvfw32.dll

See also

DrawDib Functions