Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
CMAPIConnection Class Reference

#include <nscpmapi.h>

List of all members.

Public Member Functions

 CMAPIConnection (LONG, LPSTR, LPSTR)
 ~CMAPIConnection ()
LONG GetID ()
BOOL IsDefault ()
void SetDefault (BOOL flag)
LONG GetSessionCount ()
void IncrementSessionCount ()
void DecrementSessionCount ()
LPSTR GetProfileName ()
LPSTR GetPassword ()
void SetMessageIndex (LONG mIndex)
LONG GetMessageIndex ()
void SetMessageFindInfo (LPSTR info)
LPSTR GetMessageFindInfo ()
void SetMapiListContext (LPVOID cookie)
LPVOID GetMapiListContext ()

Protected Attributes

LONG m_ID
BOOL m_defaultConnection
LONG m_sessionCount
LONG m_messageIndex
LPVOID m_cookie
UCHAR m_messageFindInfo [MAX_MSGINFO_LEN]
UCHAR m_profileName [MAX_NAME_LEN]
UCHAR m_password [MAX_PW_LEN]

Detailed Description

Definition at line 65 of file nscpmapi.h.


Constructor & Destructor Documentation

Definition at line 1052 of file mapihook.cpp.

{
  m_sessionCount = 1;
  m_defaultConnection = FALSE;
  m_ID = (id + 1);      // since zero is invalid, but have to make sure we 
                        // decrement by one when it is passed in again.
  m_messageIndex = -1;  // For tracing our way through the FindNext operation
  m_cookie = NULL;      // For doing the enumeration of messages
  m_messageFindInfo[0] = '\0';
  lstrcpy((LPSTR) m_profileName, name);
  lstrcpy((LPSTR) m_password, pw);  
}

Definition at line 1065 of file mapihook.cpp.

{
}

Member Function Documentation

Definition at line 93 of file nscpmapi.h.

{ --m_sessionCount; } ;

Here is the caller graph for this function:

Definition at line 84 of file nscpmapi.h.

{ return m_ID; } ;

Here is the caller graph for this function:

Definition at line 108 of file nscpmapi.h.

{ return m_cookie; };

Here is the caller graph for this function:

Definition at line 104 of file nscpmapi.h.

{ return (LPSTR) m_messageFindInfo; };

Definition at line 101 of file nscpmapi.h.

{ return m_messageIndex; };

Here is the caller graph for this function:

Definition at line 97 of file nscpmapi.h.

{ return (LPSTR) m_password; };

Here is the caller graph for this function:

Definition at line 96 of file nscpmapi.h.

{ return (LPSTR) m_profileName; };

Here is the caller graph for this function:

Definition at line 91 of file nscpmapi.h.

{ return m_sessionCount; } ;

Here is the caller graph for this function:

Definition at line 92 of file nscpmapi.h.

{ ++m_sessionCount; } ;

Here is the caller graph for this function:

Definition at line 87 of file nscpmapi.h.

{ return m_defaultConnection; } ;

Here is the caller graph for this function:

Definition at line 88 of file nscpmapi.h.

Here is the caller graph for this function:

Definition at line 107 of file nscpmapi.h.

{ m_cookie = cookie; } ;

Here is the caller graph for this function:

Definition at line 103 of file nscpmapi.h.

{ lstrcpy((LPSTR)m_messageFindInfo, info); } ;

Definition at line 100 of file nscpmapi.h.

{ m_messageIndex = mIndex; } ;

Here is the caller graph for this function:


Member Data Documentation

Definition at line 72 of file nscpmapi.h.

Definition at line 69 of file nscpmapi.h.

Definition at line 68 of file nscpmapi.h.

Definition at line 73 of file nscpmapi.h.

Definition at line 71 of file nscpmapi.h.

Definition at line 75 of file nscpmapi.h.

Definition at line 74 of file nscpmapi.h.

Definition at line 70 of file nscpmapi.h.


The documentation for this class was generated from the following files: