Redigera

Dela via


DrawDibUpdate macro (vfw.h)

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

Syntax

BOOL DrawDibUpdate(
    HDRAWDIB hdd,
    HDC hdc,
    int x,
    int y
);

Parameters

hdd

Handle to a DrawDib DC.

hdc

Handle of the DC.

x

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

y

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

Return value

Type: BOOL

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

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

See also

DrawDib Macros