[Bug 916] DrawDibProfileDisplay is not implemented
Wine Bugs
wine-bugs at winehq.com
Sat Jun 21 06:21:35 CDT 2003
http://bugs.winehq.com/show_bug.cgi?id=916
------- Additional Comments From z_god at wanadoo.nl 2003-21-06 06:21 -------
Bug comments restored from Gmane.org:
The URL is the msdn info for the function.
------- Additional Comments From tony_lambregts <at> telusplanet.net 2002-07-24
20:10 -------
This is correct DrawDibProfileDisplay is mapped as a stub in
/dlls/msvidio/msvfw32.spec.c The relevant info is as follows
The DrawDibProfileDisplay function determines settings for the display system
when using DrawDib functions.
BOOL DrawDibProfileDisplay(
LPBITMAPINFOHEADER lpbi
);
Parameters
lpbi
Pointer to a BITMAPINFOHEADER structure that contains bitmap information. You
can also specify NULL to verify that the profile information is current. If the
profile information is not current, DrawDib will rerun the profile tests to
obtain a current set of information. When you call DrawDibProfileDisplay with
this parameter set to NULL, the return value is meaningless.
Return Values
Returns a value that indicates the fastest drawing and stretching capabilities
of the display system. This value can be zero if the bitmap format is not
supported or one or more of the following values.
Value Description
PD_CAN_DRAW_DIB DrawDib can draw images using this format. Stretching might or
might not also be supported.
PD_CAN_STRETCHDIB DrawDib can stretch and draw images using this format.
PD_STRETCHDIB_1_1_OK StretchDIBits draws unstretched images using this format
faster than an alternative method.
PD_STRETCHDIB_1_2_OK StretchDIBits draws stretched images (in a 1:2 ratio)
using
this format faster than an alternative method.
PD_STRETCHDIB_1_N_OK StretchDIBits draws stretched images (in a 1:N ratio)
using
this format faster than an alternative method.
Requirements
Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Vfw.h.
Library: Use Vfw32.lib.
Is there a program that requires this that we can test against?
------- Additional Comments From samuel <at> sieb.net 2002-08-06 15:32 -------
Here is a program that uses it.
http://www.msen.com/~crandall/PFKS083B.ZIP
Install it, run it, and try to open the calc.lzh file.
You have to be in desktop mode or you'll find another bug. :-)
As soon as the loading is finished, you'll hit this bug.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list