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.

70 lines
3.0 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. faxrcv.h
  5. Abstract:
  6. This module contains the global definitions
  7. Author:
  8. Steven Kehrli (steveke) 11/15/1997
  9. --*/
  10. #ifndef _FAXRCV_H
  11. #define _FAXRCV_H
  12. // FAXRCV_EXT_REGKEY is the FaxRcv Extension Registry key
  13. #define FAXRCV_EXT_REGKEY L"SOFTWARE\\Microsoft\\Fax\\Routing Extensions\\FaxRcv Routing Extension"
  14. // BENABLE_EXT_REGVAL is the FaxRcv Extension bEnable Registry value
  15. #define BENABLE_EXT_REGVAL L"bEnable"
  16. // BENABLE_EXT_REGDATA is the FaxRcv Extension bEnable Registry data
  17. #define BENABLE_EXT_REGDATA 0
  18. // FRIENDLYNAME_EXT_REGVAL is the FaxRcv Extension FriendlyName Registry value
  19. #define FRIENDLYNAME_EXT_REGVAL L"FriendlyName"
  20. // FRIENDLYNAME_EXT_REGDATA is the FaxRcv Extension FriendlyName Registry data
  21. #define FRIENDLYNAME_EXT_REGDATA L"FaxRcv Routing Extension"
  22. // IMAGENAME_EXT_REGVAL is the FaxRcv Extension ImageName Registry value
  23. #define IMAGENAME_EXT_REGVAL L"ImageName"
  24. // IMAGENAME_EXT_REGDATA is the FaxRcv Extension ImageName Registry data
  25. #define IMAGENAME_EXT_REGDATA L"%SystemRoot%\\system32\\faxrcv.dll"
  26. // ROUTINGMETHODS_REGKEY is the FaxRcv Routing Methods Registry key
  27. #define ROUTINGMETHODS_REGKEY L"Routing Methods"
  28. // FAXRCV_METHOD_REGKEY is the FaxRcv Method Registry key
  29. #define FAXRCV_METHOD_REGKEY L"FaxRcv"
  30. // FRIENDLYNAME_METHOD_REGVAL is the FaxRcv Method FriendlyName Registry value
  31. #define FRIENDLYNAME_METHOD_REGVAL L"FriendlyName"
  32. // FRIENDLYNAME_METHOD_REGDATA is the FaxRcv Method FriendlyName Registry data
  33. #define FRIENDLYNAME_METHOD_REGDATA L"FaxRcv"
  34. // FUNCTIONNAME_METHOD_REGVAL is the FaxRcv Method FunctionName Registry value
  35. #define FUNCTIONNAME_METHOD_REGVAL L"Function Name"
  36. // FUNCTIONNAME_METHOD_REGDATA is the FaxRcv Method FunctionName Registry data
  37. #define FUNCTIONNAME_METHOD_REGDATA L"FaxRcv"
  38. // GUID_METHOD_REGVAL is the FaxRcv Method Guid Registry value
  39. #define GUID_METHOD_REGVAL L"Guid"
  40. // GUID_METHOD_REGDATA is the FaxRcv Method Guid Registry data
  41. #define GUID_METHOD_REGDATA L"{5800F650-B6B7-11D0-8CDB-00C04FB6BCE9}"
  42. // PRIORITY_METHOD_REGVAL is the FaxRcv Method Priority Registry value
  43. #define PRIORITY_METHOD_REGVAL L"Priority"
  44. // PRIORITY_METHOD_REGDATA is the FaxRcv Method Priority Registry data
  45. #define PRIORITY_METHOD_REGDATA 5
  46. // FAXRCV_EVENT is the name of the FaxRcv named event
  47. #define FAXRCV_EVENT L"FaxRcvEvent"
  48. // FAXRCV_MUTEXT is the name of the FaxRcv named mutex
  49. #define FAXRCV_MUTEX L"FaxRcvMutex"
  50. // FAXRCV_MAP is the name of the FaxRcv named memory map
  51. #define FAXRCV_MAP L"FaxRcvMap"
  52. HANDLE g_hFaxRcvEvent = NULL; // g_hFaxRcvEvent is the handle to the FaxRcv named event
  53. HANDLE g_hFaxRcvMutex = NULL; // g_hFaxRcvMutex is the handle to the FaxRcv named mutex
  54. HANDLE g_hFaxRcvMap = NULL; // g_hFaxRcvMap is the handle to the FaxRcv memory map
  55. LPBYTE g_pFaxRcvView = NULL; // g_pFaxRcvView is the pointer to the FaxRcv memory map view
  56. #endif