Previous Topic: Scenario C: Processing stepsNext Topic: API Interfaces: Applying Policy and Generating CA DataMinder Events


Scenario C: ImportObjectAsync() 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, seeInput Combinations for ImportObject() Method .

messageId

NULL

See Scenario C: Processing Steps.

importSource

WGN_ACTIVEIMPORTSOURCE_NONE

See Scenario C: Processing Steps.

xmlMessageAttributes

NULL

See Scenario C: 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

FALSE

See Scenario C: Processing Steps.

contextTag

Any value defined by the caller

See Scenario C: Processing Steps.