home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / mblogon.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  1KB  |  34 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. #define _MBLOGON_H
  10.  
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif // __cplusplus
  14.  
  15. //$--HrMailboxLogon------------------------------------------------------
  16. // -----------------------------------------------------------------------------
  17. HRESULT HrMailboxLogon(
  18.     IN  LPMAPISESSION   lplhSession,                // ptr to MAPI session handle
  19.     IN  LPMDB           lpMDB,                      // ptr to message store
  20.     IN  LPSTR           lpszMsgStoreDN,             // ptr to message store DN
  21.     IN  LPSTR           lpszMailboxDN,              // ptr to mailbox DN
  22.     OUT LPMDB           *lppMailboxMDB);            // ptr to mailbox message store ptr
  23.  
  24. //$--HrMailboxLogoff-------------------------------------------------------
  25. // -----------------------------------------------------------------------------
  26. HRESULT HrMailboxLogoff(
  27.     IN OUT LPMDB *lppMailboxMDB);                   // mailbox message store pointer
  28.  
  29. #ifdef __cplusplus
  30. }
  31. #endif // __cplusplus
  32.  
  33. #endif // _MBLOGON_H
  34.