Previous Topic: Scenario B: Processing stepsNext Topic: Scenario C: Asynchronous processing


Scenario B: ImportObject() Parameters

Parameters

Value

Notes

objectType

WGN_IMPORTOBJ_TYPE_EMAIL

Specifies an e-mail. See the WGN_IMPORTOBJ_TYPE typedef.

objectFormat

WGN_IMPORTOBJ_FORMAT_MAPI

Specifies a MAPI e-mail. See the WGN_IMPORTOBJ_FORMAT typedef.

objectTransport

WGN_IMPORTOBJ_TRANSPORT_COM

Specifies a COM transport. See the WGN_IMPORTOBJ_TRANSPORT typedef.

objectData

Actual e-mail

Variant type: VT_UNKNOWN

IUnknown* interface from IMessage* interface

For details about other Type-Format-Transport permutations, see Input Combinations for ImportObject() Method.

messageId

NULL

See Scenario B: Processing Steps.

importSource

WGN_ACTIVEIMPORTSOURCE_NONE

See Scenario B: Processing Steps.

xmlMessageAttributes

NULL

See Scenario B: Processing Steps.

eventSizeHintBytes

Zero

Not relevant. This parameter is used to calibrate hub throttling, but in scenario A there is no hub; the External Agent passes e-mails directly to a local policy engine.

allowDeferredCompletion

TRUE

See Scenario B: Processing Steps.