FETCH_CMD_RESULTS_EX structure
[FETCH_CMD_RESULTS_EX is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Extended version of FETCH_CMD_RESULTS_EX structure. Contains data from a FETCH response. Because FETCH responses can be unsolicited, the client should check that a data item is valid before attempting to use it.
Syntax
typedef struct tagFETCH_CMD_RESULTS_EX {
DWORD dwMsgSeqNum;
BOOL bMsgFlags;
IMAP_MSGFLAGS mfMsgFlags;
BOOL bRFC822Size;
DWORD dwRFC822Size;
BOOL bUID;
DWORD dwUID;
BOOL bInternalDate;
FILETIME ftInternalDate;
LPARAM lpFetchCookie1;
LPARAM lpFetchCookie2;
BOOL bEnvelope;
FILETIME ftENVDate;
LPSTR pszENVSubject;
IMAPADDR *piaENVFrom;
IMAPADDR *piaENVSender;
IMAPADDR *piaENVReplyTo;
IMAPADDR *piaENVTo;
IMAPADDR *piaENVCc;
IMAPADDR *piaENVBcc;
LPSTR pszENVInReplyTo;
LPSTR pszENVMessageID;
DWORD dwReserved1;
DWORD dwReserved2;
DWORD dwReserved3;
} FETCH_BODY_PART;
Members
-
dwMsgSeqNum
-
Type: DWORD
-
Contains a DWORD that contains the message sequence number for the fetched message.
-
bMsgFlags
-
Type: BOOL
-
Contains a BOOL that indicates whether mfMsgFlags contains valid data.
-
mfMsgFlags
-
Type: IMAP_MSGFLAGS
-
Contains one or more values from the IMAP_MSGFLAGS enumeration returned in the FLAGS data item by the FETCH response.
-
bRFC822Size
-
Type: BOOL
-
Contains a BOOL that indicates whether dwRFC822Size contains valid data.
-
dwRFC822Size
-
Type: DWORD
-
Contains a DWORD that contains the RFC822.SIZE data item returned by the FETCH response.
-
bUID
-
Type: BOOL
-
Contains a BOOL that indicates whether dwUID contains valid data.
-
dwUID
-
Type: DWORD
-
Contains a DWORD that contains the UID data item returned by the FETCH response.
-
bInternalDate
-
Type: BOOL
-
Contains a BOOL that indicates whether ftInternalDate contains valid data.
-
ftInternalDate
-
Type: FILETIME
-
Contains a FILETIME structure that contains the INTERNALDATE data item returned by the FETCH response.
-
lpFetchCookie1
-
Type: LPARAM
-
Contains an LPARAM that contains a user-settable value. IMAPTransport initializes this parameter to zero.
-
lpFetchCookie2
-
Type: LPARAM
-
Contains an LPARAM that contains a user-settable value. IMAPTransport initializes this parameter to zero.
-
bEnvelope
-
Type: BOOL
-
Contains a BOOL that indicates whether ftENVDate, pszENVSubject, piaENVFrom, piaENVSender, piaENVReplyTo, piaENVTo, piaENVCc, piaENVBcc, pszENVInReplyTo, and pszENVMessageID contain valid data.
-
ftENVDate
-
Type: FILETIME
-
Contains a FILETIME structure that contains the date field returned by the FETCH response in the ENVELOPE data item.
-
pszENVSubject
-
Type: LPSTR
-
Contains an LPSTR that contains the subject field returned by the FETCH response in the ENVELOPE data item.
-
piaENVFrom
-
Type: IMAPADDR*
-
Contains a pointer to an array of IMAPADDR structures that contains the from field returned by the FETCH response in the ENVELOPE data item.
-
piaENVSender
-
Type: IMAPADDR*
-
Contains a pointer to an array of IMAPADDR structures that contains the sender field returned by the FETCH response in the ENVELOPE data item.
-
piaENVReplyTo
-
Type: IMAPADDR*
-
Contains a pointer to an array of IMAPADDR structures that contains the reply-to field returned by the FETCH response in the ENVELOPE data item.
-
piaENVTo
-
Type: IMAPADDR*
-
Contains a pointer to an array of IMAPADDR structures that contains the to field returned by the FETCH response in the ENVELOPE data item.
-
piaENVCc
-
Type: IMAPADDR*
-
Contains a pointer to an array of IMAPADDR structures that contains the cc field returned by the FETCH response in the ENVELOPE data item.
-
piaENVBcc
-
Type: IMAPADDR*
-
Contains a pointer to an array of IMAPADDR structures that contains the bcc field returned by the FETCH response in the ENVELOPE data item.
-
pszENVInReplyTo
-
Type: LPSTR
-
Contains an LPSTR that contains the in-reply-to field returned by the FETCH response in the ENVELOPE data item.
-
pszENVMessageID
-
Type: LPSTR
-
Contains an LPSTR that contains the message-id field returned by the FETCH response in the ENVELOPE data item.
-
dwReserved1
-
Type: DWORD
-
Reserved. Unused.
-
dwReserved2
-
Type: DWORD
-
Reserved. Unused.
-
dwReserved3
-
Type: DWORD
-
Reserved. Unused.
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
IDL |
|