The ICM_DRAW_QUERY message is sent to a rendering driver to determine if it can render data in a specific format.
Parameters
dwParam1
Specifies a pointer to a BITMAPINFO structure describing the input format.
dwParam2
Not used.
Return Value
Returns ICERR_OK if the driver can render data in the specified format. Otherwise, returns ICERR_BADFORMAT indicating that the format is not supported.
Comments
This message asks if the driver recognizes the format for drawing operations. The ICM_DRAW_BEGIN message determines if the driver can draw the data.