Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/172495

From BetaArchive Wiki

BUG: TIMER_ALL_ACCESS Not Defined in Platform SDK Headers


The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) on the following platform:
  • the operating system: Microsoft Windows NT


The CreateWaitableTimer reference page in the Platform SDK documentation mentions the TIMER_ALL_ACCESS access right for waitable timers. However, this constant is not defined in any of the header files in the Platform SDK.


The following definitions should be located in WINBASE.H, but are currently missing.

   #define TIMER_QUERY_STATE       0x0001
   #define TIMER_MODIFY_STATE      0x0002



To incorporate the definitions in your code, use the preprocessor as follows to define them only if they are not already defined (as will be the case when this bug is fixed):

   #if !defined (TIMER_ALL_ACCESS)
   #define TIMER_QUERY_STATE       0x0001
   #define TIMER_MODIFY_STATE      0x0002


Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: waitable timer right access constant

Keywords : kbKernBase kbThread kbDSupport kbGrpDSKernBase
Issue type : kbbug
Technology : kbOSWinSearch kbOSWinNTSearch

Last Reviewed: October 22, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.