Index   Commented   Search   About

ICM_DRAW_BEGIN

The ICM_DRAW_BEGIN message notifies a rendering driver to prepare to draw data.

ICM_DRAW_BEGIN

wParam = (DWORD) (LPVOID) &icdrwBgn;

lParam = sizeof(ICDRAW);

Parameters

icdrwBgn

Address of an ICDRAWBEGIN structure containing the input format.

lParam

Size, in bytes, of ICDRAWBEGIN.

Return Values

Returns ICERR_OK if the driver supports drawing the data to the screen in the specified manner and format, or an error code otherwise. Possible error values include the following:

ICERR_BADFORMAT
Input or output format is not supported.
ICERR_NOTSUPPORTED
Driver does not draw directly to the screen or does not support this message.

Remarks

If you want the driver to decompress data into a buffer, send the ICM_DECOMPRESS_BEGIN message.

The ICM_DRAW_BEGIN and ICM_DRAW_END messages do not nest. If your driver receives ICM_DRAW_BEGIN before decompression is stopped with ICM_DRAW_END, it should restart decompression with new parameters.

See Also

ICDRAWBEGIN
, ICM_DECOMPRESS_BEGIN, ICM_DRAW_END

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun