See also ICDRAWSUGGEST
wParam = (DWORD) (LPVOID) &icdrwSuggest; lParam = sizeof(ICDRAWSUGGEST);
Queries a rendering driver to suggest a decompressed format that it can draw.
wParam
Address of an ICDRAWSUGGEST structure.
lParam
Size, in bytes, of the ICDRAWSUGGEST structure.
The driver should examine the format specified in the lpbiIn member of the ICDRAWSUGGEST structure and use the lpbiSuggest member to return a format it can draw. The output format should preserve as much data as possible from the input format.
Optionally, the driver can use the installable compressor handle passed in the hicDecompressor member of ICDRAWSUGGEST to make more complex selections. For example, if the input format is 24-bit JPEG data, a renderer could query the decompressor to find out if it can decompress to a YUV format (which might be drawn more efficiently) before selecting the format to suggest.