Platform SDK: MAPI |
The IMsgServiceAdmin::MsgServiceTransportOrder method sets the order in which transport providers are called to deliver a message.
See IMsgServiceAdmin : IUnknown.
HRESULT MsgServiceTransportOrder( ULONG cUID, LPMAPIUID lpUIDList, ULONG ulFlags );
The IMsgServiceAdmin::MsgServiceTransportOrder method sets the delivery order of transport providers within a profile. The lpUIDList parameter must contain a sorted list of transport-provider entry identifiers obtained from the PR_PROVIDER_UID property of the table returned from the IMsgServiceAdmin::GetProviderTable method. A client application must pass the complete list in lpUIDList.
SetTransportOrder overrides transport provider preferences such as the STATUS_XP_PREFER_LAST flag set in the PR_RESOURCE_FLAGS property.