ICM_DRAW_QUERY message
The ICM_DRAW_QUERY message queries a rendering driver to determine if it can render data in a specific format. You can send this message explicitly or by using the ICDrawQuery macro.
ICM_DRAW_QUERY
wParam = (DWORD_PTR) (LPVOID) lpbiInput;
lParam = 0;
Parameters
-
lpbiInput
-
Pointer to a BITMAPINFO structure containing the input format.
Return Value
Returns ICERR_OK if the driver can render data in the specified format or ICERR_BADFORMAT otherwise.
Remarks
This message differs from the ICM_DRAW_BEGIN message in that it queries the driver in a general sense. ICM_DRAW_BEGIN determines if the driver can draw the data using the specified format under specific conditions, such as stretching the image.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for