DrawDibUpdate  7TOK.CC 

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.