Share via


FETCH_CMD_RESULTS structure

[FETCH_CMD_RESULTS is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

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 {
  DWORD         dwMsgSeqNum;
  BOOL          bMsgFlags;
  IMAP_MSGFLAGS mfMsgFlags;
  BOOL          bRFC822Size;
  DWORD         dwRFC822Size;
  BOOL          bUID;
  DWORD         dwUID;
  BOOL          bInternalDate;
  FILETIME      ftInternalDate;
  LPARAM        lpFetchCookie1;
  LPARAM        lpFetchCookie2;
} 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.

Remarks

This structure is returned after the entire FETCH response is received.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnxport.h
IDL
Imnxport.idl