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.

45 lines
1.6 KiB

  1. /***********************************************************************
  2. *
  3. * _WABAPI.H
  4. *
  5. * Internal headers for the WABAPI
  6. *
  7. * Copyright 1996 Microsoft Corporation. All Rights Reserved.
  8. *
  9. * Revision History:
  10. *
  11. * When Who What
  12. * -------- ------------------ ---------------------------------------
  13. * 04.16.96 Bruce Kelley Created
  14. *
  15. ***********************************************************************/
  16. #ifndef ___WABAPI_H
  17. #define ___WABAPI_H
  18. typedef struct _PROPERTY_STORE {
  19. HANDLE hPropertyStore;
  20. ULONG ulRefCount;
  21. BOOL bProfileAPIs;
  22. BOOL bIsWABOpenExSession; // Bug - Outlook passes IADRBook.c to multiple threads without all the threads calling
  23. // WABOpenEx - as a result secondary threads dont know its an outlook session and
  24. // try to access the .WAB which crashes badly. This flag is a hack way to pass the
  25. // info between the two threads
  26. struct _OlkContInfo *rgolkci; // Outlook container info
  27. ULONG colkci;
  28. // information for WAB containers...
  29. } PROPERTY_STORE, *LPPROPERTY_STORE;
  30. typedef struct _OUTLOOK_STORE {
  31. HMODULE hOutlookStore;
  32. ULONG ulRefCount;
  33. } OUTLOOK_STORE, *LPOUTLOOK_STORE;
  34. ULONG ReleasePropertyStore(LPPROPERTY_STORE lpPropertyStore);
  35. SCODE OpenAddRefPropertyStore(LPWAB_PARAM lpWP, LPPROPERTY_STORE lpPropertyStore);
  36. ULONG ReleaseOutlookStore(HANDLE hPropertyStore, LPOUTLOOK_STORE lpOutlookStore);
  37. SCODE OpenAddRefOutlookStore(LPOUTLOOK_STORE lpOutlookStore);
  38. #endif // include once