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

Definition of TRACEHANDLE and GetTraceLoggerHandle()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Win32SS
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      True definition of TRACEHANDLE and GetTraceLoggerHandle()

      1. TRACEHANDLE is defined as "typedef HANDLE TRACEHANDLE;" in ddk/winddk.h, i.e. as a pointer => 32-bit wide on x86. But it is also defined as "typedef ULONG64 TRACEHANDLE, *PTRACEHANDLE;" in psdk/evntrace.h, i.e. 64-bit wide.

      Where is the truth?

      2. GetTraceLoggerHandle() (in dll/win32/advapi32/misc/trace.c) returns a value of TRACEHANDLE type. It returns INVALID_HANDLE_VALUE upon a failure. (It's just a stub now and always returns INVALID_HANDLE_VALUE.) Should it be equal to 0xFFFFFFFF, or 0x00000000FFFFFFFF, or 0xFFFFFFFFFFFFFFFF?

      Attachments

        Issue Links

          Activity

            People

              Colin Finck Colin Finck
              hto hto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: