Source code of Windows XP (NT5)
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.

50 lines
1.6 KiB

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