home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / mblogon.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.4 KB  |  36 lines

  1. // --MBLOGON.h------------------------------------------------------------------
  2. // 
  3. //  Header file for module containing message store logon/logoff functions.
  4. // 
  5. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  6. // -----------------------------------------------------------------------------
  7.  
  8. #ifndef _MBLOGON_H
  9. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  10. #define _MBLOGON_H
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif // __cplusplus
  15.  
  16. //$--HrMailboxLogon------------------------------------------------------
  17. // -----------------------------------------------------------------------------
  18. HRESULT HrMailboxLogon(
  19.     IN  LPMAPISESSION   lplhSession,                // ptr to MAPI session handle
  20.     IN  LPMDB           lpMDB,                      // ptr to message store
  21.     IN  LPSTR           lpszMsgStoreDN,             // ptr to message store DN
  22.     IN  LPSTR           lpszMailboxDN,              // ptr to mailbox DN
  23.     OUT LPMDB           *lppMailboxMDB);            // ptr to mailbox message store ptr
  24.  
  25. //$--HrMailboxLogoff-------------------------------------------------------
  26. // -----------------------------------------------------------------------------
  27. HRESULT HrMailboxLogoff(
  28.     IN OUT LPMDB *lppMailboxMDB);                   // mailbox message store pointer
  29.  
  30. #ifdef __cplusplus
  31. }
  32. #endif // __cplusplus
  33.  
  34. #pragma option pop /*P_O_Pop*/
  35. #endif // _MBLOGON_H
  36.