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.

48 lines
1.0 KiB

  1. //+------------------------------------------------------------------------
  2. //
  3. // Class: Common
  4. //
  5. // Purpose: Contains Winnt routines and properties that are common to
  6. // all Winnt objects. Winnt objects get the routines and
  7. // properties through C++ inheritance.
  8. //
  9. //-------------------------------------------------------------------------
  10. #define MAX_DWORD 0xFFFFFFFF
  11. #define SCHEMA_NAME TEXT("Schema")
  12. #define ROOTDSE_NAME TEXT("RootDSE")
  13. #define LDP_CACHE_ENTRY 0
  14. #define LDAP_HANDLE 1
  15. #define OBJECT_CREDENTIALS 2
  16. #define LDAP_SERVER 3
  17. #define LDAP_DN 4
  18. #define LDAP_MUTUAL_AUTH_STATUS 8
  19. #define LDAP_MEMBER_HAS_RANGE 9
  20. HRESULT
  21. MakeUncName(
  22. LPTSTR szSrcBuffer,
  23. LPTSTR szTargBuffer
  24. );
  25. HRESULT
  26. ValidateOutParameter(
  27. BSTR * retval
  28. );
  29. //
  30. // Accessing Well-known object types
  31. //
  32. typedef struct _filters {
  33. TCHAR szObjectName[MAX_PATH];
  34. DWORD dwFilterId;
  35. } FILTERS, *PFILTERS;
  36. extern PFILTERS gpFilters;
  37. extern DWORD gdwMaxFilters;