Skip to content

Latest commit

 

History

History
82 lines (47 loc) · 2.21 KB

icm-draw-window.md

File metadata and controls

82 lines (47 loc) · 2.21 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
ICM_DRAW_WINDOW message (Vfw.h)
The ICM\_DRAW\_WINDOW message notifies a rendering driver that the window specified for the ICM\_DRAW\_BEGIN message needs to be redrawn.
4df1b9a7-8d61-4e79-8f43-1e7ee266375c
ICM_DRAW_WINDOW message Windows Multimedia
apiref
ICM_DRAW_WINDOW
Vfw.h
HeaderDef
reference
05/31/2018

ICM_DRAW_WINDOW message

The ICM_DRAW_WINDOW message notifies a rendering driver that the window specified for the ICM_DRAW_BEGIN message needs to be redrawn. The window has moved or become temporarily obscured. You can send this message explicitly or by using the ICDrawWindow macro.

ICM_DRAW_WINDOW 
wParam = (DWORD_PTR) (LPVOID) prc; 
lParam = 0; 

Parameters

prc

Pointer to the destination rectangle in screen coordinates. If this parameter points to an empty rectangle, drawing should be turned off.

Return Value

Returns ICERR_OK if successful or an error otherwise.

Remarks

This message is supported by hardware that performs its own asynchronous decompression, timing, and drawing.

Video-overlay drivers use this message to draw when the window is obscured or moved. When a window specified for ICM_DRAW_BEGIN is completely hidden by other windows, the destination rectangle is empty. Drivers should turn off video-overlay hardware when this condition occurs.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vfw.h

See also

Video Compression Manager

Video Compression Messages