Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-6632

Improve code in gdiobj.c

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 0.5
    • Component/s: Win32SS
    • Labels:
      None

      Description

      • Use macros to get the object type
      • Add clearer comments about what kind of object type is to be used
      • Fix object type in GDIOBJ_AllocObjWithHandle (should be 0x1F in the comparison)
      • Don't use pushlock when inserting handle, instead either set owner to NONE or set a bit in FullUnique. To finnish, make object accessible (GDIOBJ_vUnlockHandle() or GDIOBJ_vSetObjectOwner())

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ThePhysicist Timo Kreuzer
                Reporter:
                ThePhysicist Timo Kreuzer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: