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 to a DrawDib DC.

hdc

Handle of the DC.

xDst

The x-coordinate, in MM_TEXT client coordinates, of the upper left corner of the destination rectangle.

yDst

The y-coordinate, 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.

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.

See Also

DrawDib, DrawDib Macros