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.

98 lines
2.8 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000.
  5. //
  6. // File: umiglob.hxx
  7. //
  8. // Contents: Header for declaring UMI global variables
  9. //
  10. // History: 02-28-00 SivaramR Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifndef __UMIGLOB_H__
  14. #define __UMIGLOB_H__
  15. #define UMI_ENCODE_SEED3 0x83;
  16. #define CONN_INTF_PROP_USERNAME "__USERID"
  17. #define CONN_INTF_PROP_PASSWORD "__PASSWORD"
  18. #define CONN_INTF_PROP_SECURE_AUTH "__SECURE_AUTHENTICATION"
  19. #define CONN_INTF_PROP_READONLY_SERVER "__PADS_READONLY_SERVER"
  20. #define CONN_INTF_PROP_DEFAULT_USERNAME NULL
  21. #define CONN_INTF_PROP_DEFAULT_PASSWORD NULL
  22. #define CONN_INTF_PROP_DEFAULT_SECURE_AUTH TRUE
  23. #define CONN_INTF_PROP_DEFAULT_READONLY_SERVER FALSE
  24. #define CURSOR_INTF_PROP_FILTER "__FILTER"
  25. #define UMIOBJ_INTF_PROP_PATH "__PATH"
  26. #define UMIOBJ_INTF_PROP_CLASS "__CLASS"
  27. #define UMIOBJ_INTF_PROP_NAME "__NAME"
  28. #define UMIOBJ_INTF_PROP_PARENT "__PARENT"
  29. #define UMIOBJ_INTF_PROP_SCHEMA "__SCHEMA"
  30. #define UMIOBJ_INTF_PROP_RELURL "__RELURL"
  31. #define UMIOBJ_INTF_PROP_FULLURL "__FULLURL"
  32. #define UMIOBJ_INTF_PROP_URL "__URL"
  33. #define UMIOBJ_INTF_PROP_RELPATH "__RELPATH"
  34. #define UMIOBJ_INTF_PROP_GENUS "__GENUS"
  35. #define UMIOBJ_INTF_PROP_SCHEMAPATH "__PADS_SCHEMA_CONTAINER_PATH"
  36. #define UMIOBJ_INTF_PROP_KEY "__KEY"
  37. #define UMIOBJ_INTF_PROP_SUPERCLASS "__SUPERCLASS"
  38. #define UMIOBJ_INTF_PROP_FULLRELURL "__FULLRELURL"
  39. #define UMIOBJ_INTF_PROP_PROPERTY_COUNT "__PROPERTY_COUNT"
  40. #define CLASS_SEPARATOR L'.'
  41. #define VALUE_SEPARATOR L'='
  42. #define NATIVE_CLASS_SEPARATOR L','
  43. #define WINNT_KEY_NAME L"Name"
  44. #define FULL_UMI_PATH 0
  45. #define SHORT_UMI_PATH 1
  46. #define RELATIVE_UMI_PATH 2
  47. #define FULL_RELATIVE_UMI_PATH 3
  48. #define MAX_URL 256
  49. #define MAX_CLASS 256
  50. #define UMI_INTERNAL_FLAG_MARK_AS_CLEAN 0xdeadbeef
  51. extern UMI_TYPE g_mapNTTypeToUmiType[];
  52. extern DWORD g_dwNumNTTypes;
  53. extern PROPERTYINFO ObjClass[];
  54. extern DWORD g_dwObjClassSize;
  55. extern PROPERTYINFO ConnectionClass[];
  56. extern DWORD g_dwConnectionTableSize;
  57. extern PROPERTYINFO CursorClass[];
  58. extern DWORD g_dwCursorTableSize;
  59. extern PROPERTYINFO SchClassClass[];
  60. extern DWORD g_dwSchClassClassTableSize;
  61. extern PROPERTYINFO PropertyClass[];
  62. extern DWORD g_dwPropertyClassTableSize;
  63. extern PROPERTYINFO SyntaxClass[];
  64. extern DWORD g_dwSyntaxTableSize;
  65. extern PROPERTYINFO SchemaClass[];
  66. extern DWORD g_dwSchemaClassTableSize;
  67. // structure to map between IADs interface property names and UMI standard
  68. // inerface property names.
  69. typedef struct tag_ADSIToUMI {
  70. LPWSTR IADsPropertyName;
  71. LPWSTR UMIPropertyName;
  72. } ADSIToUMI;
  73. extern DWORD g_dwIADsProperties;
  74. extern ADSIToUMI g_IADsProps[];
  75. extern LPWSTR g_UmiObjUnImplProps[];
  76. extern LPWSTR g_UmiConUnImplProps[];
  77. #endif // __UMIGLOB_H__