IObex::EnumTransports

The IObex::EnumTransports method retrieves a list of the supported data transfer types from the OBEX object.

HRESULT EnumTransports( 
  IPropertyBagEnum * ppTransportEnum 
);

Parameters

  • ppTransportEnum
    [out] A property bag enumerator containing a property bag that lists the globally unique identifiers (GUIDs) of the data transfer methods that the OBEX object supports.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Remarks

This method is rarely used; however, to create an object that supports a wide array of data transfer types, use the IObex::EnumTransports method to enumerate those types.

Requirements

Pocket PC Platforms: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: obex.h
Library: obexguid.lib

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.