Share via


IMAP_RESPONSE structure

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

Holds responses from the Internet Message Access Protocol (IMAP) server.

Syntax

typedef struct tagIMAP_RESPONSE {
  WPARAM             wParam;
  LPARAM             lParam;
  HRESULT            hrResult;
  LPSTR              lpszResponseText;
  IMAP_RESPONSE_TYPE irtResponseType;
  IMAP_RESPONSE_DATA irdResponseData;
} IMAPADDR;

Members

wParam

Type: WPARAM

Contains a WPARAM that together with lParam forms a unique transaction ID. The value is zero for unsolicited or unresolvable responses.

lParam

Type: LPARAM

Contains an LPARAM that together with wParam forms a unique transaction ID. The value is zero for unsolicited or unresolvable responses.

hrResult

Type: HRESULT

Contains any error code encountered while processing the server response.

lpszResponseText

Type: LPSTR

Contains a LPSTR that contains the text of the server response. This parameter is NULL when irtResponseType is irtAPPEND_PROGRESS, irtAPPLICABLE_FLAGS, irtDELETED_MSG, irtFETCH_BODY, irtMAILBOX_LISTING, irtMAILBOX_STATUS, irtMAILBOX_UPDATE, irtSEARCH, irtUPDATE_MSG, or irtUPDATE_MSG_EX.

irtResponseType

Type: IMAP_RESPONSE_TYPE

Contains an IMAP_RESPONSE_TYPE value that categorizes the response.

irdResponseData

Type: IMAP_RESPONSE_DATA

Contains an IMAP_RESPONSE_DATA structure that contains various information dependent on the specific irtResponseType.

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