[ros-bugs] [Bug 5834] New: UNIMPLEMENTED: CreateEnhMetaFileA rewrite is missing some features

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Mon Jan 17 04:50:31 UTC 2011


http://www.reactos.org/bugzilla/show_bug.cgi?id=5834

           Summary: UNIMPLEMENTED: CreateEnhMetaFileA rewrite is missing
                    some features
           Product: ReactOS
           Version: TRUNK
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Win32
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: vicmarcal at hotmail.com


Current features missing in CreateEnhMetaFileA after the rewrite:
(
http://doxygen.reactos.org/dd/d1b/enhmfile_8c_a48a5c4d4f2a1a0d6da47968a39169620.html#a48a5c4d4f2a1a0d6da47968a39169620
)
CreateEnhMetaFileA(HDC hdcRef,LPCSTR lpFileName, CONST RECT *lpRect,LPCSTR
lpDescription)

1) hdcRef can be NULL, in this case it uses the current display device for
reference.
The old code was caring about this, current is not.

2)*lpRect can be NULL, in this case the graphics device interface (GDI)
computes the dimensions of the smallest rectangle that surrounds the picture
drawn by the application. 
The old code was caring about this, current is not.

3)*lpRect is never used in the code,never checked.

4)*lpRect should be checked: the left and top members of the RECT structure
pointed to by the lpRect parameter must be less than the right and bottom
members, respectively.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Ros-bugs mailing list