DrawDibUpdate

The DrawDibUpdate macro draws the last frame in the DrawDib off-screen buffer.

BOOL DrawDibUpdate(
  HDRAWDIB hdd,  
  HDC hdc,       
  int xDst,      
  int yDst       
);
 

Parameters

hdd
Handle of a DrawDib DC.
hdc
Handle of the DC.
xDst and yDst
The x- and y-coordinates, in MM_TEXT client coordinates, of the upper left corner of the destination rectangle.

Return Value

Returns TRUE if successful or FALSE otherwise.

Remarks

The DrawDibUpdate macro is defined as follows:

#define DrawDibUpdate( hdd, hdc, x, y) \ 
    DrawDibDraw( hdd, hdc, x, y, 0, 0, NULL, NULL, 0, 0, \ 
    0, 0, DDF_UPDATE) 
 

This macro can be used to refresh an image or a portion of an image displayed by your application.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

DrawDib Overview, DrawDib Macros