Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.6 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name:
  4. EVENTCONSUMERPROVIDER.H
  5. Abstract:
  6. Contains global variables to be used in other files.
  7. Author:
  8. Vasundhara .G
  9. Revision History:
  10. Vasundhara .G 9-oct-2k : Created It.
  11. --*/
  12. #ifndef __EVENT_CONSUMER_PROVIDER_H
  13. #define __EVENT_CONSUMER_PROVIDER_H
  14. // constants / defines / enumerations
  15. #define LENGTH_UUID 128
  16. #define NULL_CHAR _T( '\0' )
  17. #define NULL_STRING _T( "\0" )
  18. #define PROVIDER_CLASSNAME L"CmdTriggerConsumer"
  19. #define METHOD_RETURNVALUE _T( "ReturnValue" )
  20. #define TEC_PROPERTY_TRIGGERID _T( "TriggerID" )
  21. #define TEC_PROPERTY_TRIGGERNAME _T( "TriggerName" )
  22. #define TEC_PROPERTY_DESCRIPTION _T( "Description" )
  23. #define TEC_PROPERTY_COMMAND _T( "Command" )
  24. #define TEC_ADDTRIGGER L"AddTrigger"
  25. #define TEC_ADDTRIGGER_TRIGGERNAME _T( "strTriggerName" )
  26. #define TEC_ADDTRIGGER_DESCRIPTION _T( "strDescription" )
  27. #define TEC_ADDTRIGGER_COMMAND _T( "strCommand" )
  28. #define TEC_ADDTRIGGER_QUERY _T( "strQuery" )
  29. // extern(ing) variables ... global usage
  30. extern DWORD g_dwLocks; // holds the active locks count
  31. extern DWORD g_dwInstances; // holds the active instances of the component
  32. extern CRITICAL_SECTION g_critical_sec; // critical section variable
  33. extern HMODULE g_hModule; // holds the current module handle
  34. #endif // __EVENT_CONSUMER_PROVIDER_H