title: Is it possible to list named events in Windows?
body: <p>I would like to create events for certain resources that are used across various processes and access these events by name. The problem seems to be that the names of the events must be known to all applications referring to them.</p>
  
  <p>Is there maybe a way to get a list of names events in the system?</p>
  
  <p>I am aware that I might use some standard names, but it seems rather inflexible with regard to future extensibility (all application would require a recompile).</p>
  
  <hr>
  
  <p>I'm afraid, I can't even consider ZwOpenDirectoryObject, because it is described as needing Windows XP or higher, so it is out of question. Thanks for the suggestion though.</p>
  
  <p>I am a little unsure about shared memory, because I haven't tried it so far. Might do some reading in that area I guess. Configuration files and registry are a slight problem, because they do tend to fail with Vista due to access problems. I am a bit afraid, that shared memory will have the same problem.</p>
  
  <p>The idea with ProcessExplorer sounds promising. Does anyone know an API that could be used for listing events for a process? And, does it work without administrative rights?</p>
  
  <hr>
  
  <p>Thank you for the clarification.</p>
  
  <p>There is not really a master process. It is more of a driver dll that is used from different processes and the events would be used to "lock" resources used by these processes.</p>
  
  <p>I am thinking about setting up a central service that has sufficient access rights even under Vista. It will certainly complicate things, but it might be the only thing left facing the problems with security.</p>