Leaked source code of windows server 2003
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.

32 lines
791 B

  1. /*
  2. * a c c t c a c h . h
  3. *
  4. * Author: Greg Friedman
  5. *
  6. * Purpose: Runtime store for cached account properties.
  7. *
  8. * Copyright (C) Microsoft Corp. 1998.
  9. */
  10. #ifndef _ACCTCACH_H
  11. #define _ACCTCACH_H
  12. typedef enum tagCACHEDACCOUNTPROP
  13. {
  14. CAP_HTTPMAILMSGFOLDERROOT,
  15. CAP_HTTPMAILSENDMSG,
  16. CAP_HTTPNOMESSAGEDELETES,
  17. CAP_PASSWORD,
  18. CAP_HTTPAUTOSYNCEDFOLDERS,
  19. CAP_LAST
  20. } CACHEDACCOUNTPROP;
  21. void FreeAccountPropCache(void);
  22. HRESULT HrCacheAccountPropStrA(LPSTR pszAccountId, CACHEDACCOUNTPROP cap, LPCSTR pszProp);
  23. BOOL GetAccountPropStrA(LPSTR pszAccountId, CACHEDACCOUNTPROP cap, LPSTR *ppszProp);
  24. void AccountCache_AccountChanged(LPSTR pszAccountId);
  25. void AccountCache_AccountDeleted(LPSTR pszAccountId);
  26. #endif // _ACCTCACH_H