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

Improve code in gdiobj.c

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Win32SS
    • 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

              ThePhysicist Timo Kreuzer
              ThePhysicist Timo Kreuzer
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: