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
2.6 KiB

  1. #ifndef _ABADMIN_H_
  2. #define _ABADMIN_H_
  3. #include <abtype.h>
  4. #include <abook.h>
  5. #define ROW_RETURNED(pabe) ((pabe)->cRowReturned)
  6. #define ROW_MATCHED(pabe) ((pabe)->cRowMatched)
  7. // Error message, implemented in abget.cpp
  8. ABEXPDLLCPP ABRETC ABCALLCONV AbGetErrorString(ABRETC abrc, LPSTR lpBuf, DWORD cbBufSize);
  9. // Persistent domain, implemented in abdomain.cpp
  10. ABEXPDLLCPP ABRETC ABCALLCONV AbAddPersistentDomain(HANDLE hAbook, LPSTR szDomainName, BOOL fLocal);
  11. ABEXPDLLCPP ABRETC ABCALLCONV AbDeletePersistentDomain(HANDLE hAbook, LPSTR szDomainName);
  12. // Get APIs
  13. ABEXPDLLCPP ABRETC ABCALLCONV AbGetAbinfoFromEmail(HANDLE hAbook, LPSTR szEmail, LPVOID pvBuf, LPDWORD pcbBuf);
  14. ABEXPDLLCPP ABRETC ABCALLCONV AbGetAbinfoFromAbiid(HANDLE hAbook, ABIID abiid, LPVOID pvBuf, LPDWORD pcbBuf);
  15. // Resolve, GetList and Enum APIs
  16. ABEXPDLLCPP ABRETC ABCALLCONV AbResolveDLMembers(HANDLE hAbook, HACCT hAcct, PABENUM pabEnum, BOOL fForward, LPSTR szMemberName, ABIID abiidDL);
  17. ABEXPDLLCPP ABRETC ABCALLCONV AbMatchSimilarName(HANDLE hAbook, HACCT hAcct, PABENUM pabEnum, BOOL fForward, LPSTR szLoginName, ABTSF abtsf);
  18. ABEXPDLLCPP ABRETC ABCALLCONV AbGetServerList(HANDLE hAbook, HACCT hAcct, PABENUM pabEnum);
  19. ABEXPDLLCPP ABRETC ABCALLCONV AbGetDomainList(HANDLE hAbook, HACCT hAcct, PABENUM pabEnum);
  20. // Enum
  21. ABEXPDLLCPP ABRETC ABCALLCONV AbGetNextEnumResult(HANDLE hAbook, PABENUM pabEnum, LPVOID pvBuf, LPDWORD pcbBuf);
  22. ABEXPDLLCPP ABRETC ABCALLCONV AbEndEnumResult(HANDLE hAbook, PABENUM pabEnum);
  23. // User, implemented in abacct.cpp
  24. ABEXPDLLCPP ABRETC ABCALLCONV AbCreateUser(HANDLE hAbook, LPSTR szEmail, LPSTR szForward, BOOL fLocalUser, LPSTR szVRoot, DWORD cbMailboxMax, DWORD cbMailboxMessageMax);
  25. ABEXPDLLCPP ABRETC ABCALLCONV AbDeleteUser(HANDLE hAbook, LPSTR szEmail);
  26. ABEXPDLLCPP ABRETC ABCALLCONV AbSetForward(HANDLE hAbook, LPSTR szEmail, LPSTR szForward);
  27. ABEXPDLLCPP ABRETC ABCALLCONV AbSetMailboxSize(HANDLE hAbook, LPSTR szEmail, DWORD cbMailboxMax);
  28. ABEXPDLLCPP ABRETC ABCALLCONV AbSetMailboxMessageSize(HANDLE hAbook, LPSTR szEmail, DWORD cbMailboxMessageMax);
  29. ABEXPDLLCPP ABRETC ABCALLCONV AbSetMailRoot(HANDLE hAbook, LPSTR szEmail, LPSTR szVRoot);
  30. // DL, implemented in abdl.cpp
  31. ABEXPDLLCPP ABRETC ABCALLCONV AbCreateDL(HANDLE hAbook, LPSTR szEmail, DWORD dwType);
  32. ABEXPDLLCPP ABRETC ABCALLCONV AbDeleteDL(HANDLE hAbook, LPSTR szEmail);
  33. ABEXPDLLCPP ABRETC ABCALLCONV AbCreateDLMember(HANDLE hAbook, LPSTR szEmail, LPSTR szMember);
  34. ABEXPDLLCPP ABRETC ABCALLCONV AbDeleteDLMember(HANDLE hAbook, LPSTR szEmail, LPSTR szMember);
  35. ABEXPDLLCPP ABRETC ABCALLCONV AbSetDLToken(HANDLE hAbook, LPSTR szEmail, DWORD dwToken);
  36. #endif