Compartir a través de


IPMPlatform::AddTransport (Windows CE 5.0)

Send Feedback

This method adds a transport object to the IPMPlatform interface of type bstrTransportId.

HRESULT AddTransport(BSTR bstrTransportId,VARIANT_BOOL bDefault,IPMTransportInfo** ppiTransport);

Parameters

  • bstrTransportId
    [in] GUID of the transport object to be added.
  • bDefault
    [in] Optional; If TRUE, the transport object becomes the default transport. The default value is TRUE.
  • ppiTransport
    [out] Pointer to a pointer to the IPMTransportInfo interface.

Return Values

Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Platform.h, Cemgr.idl.

See Also

IPMPlatform | IPMTransportInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.