Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method returns a standard COM IPropertyBagor IPropertyBag2interface that describes the device.

Syntax

HRESULT EnumProperties(
  REFIID 
riid, 
  void** 
ppv
);

Parameters

riid

[in] Reference identifier of the property bag.

ppv

[out] Destination pointer for the properties.

Return Value

The appropriate HResult is returned.

Remarks

The IPropertyBagor IPropertyBag2interface contains properties that describe the device. Each property is defined as a name/value pair. All devices should expose well-known properties such as Name, Address, and Transport.

Requirements

Header obex.h, obex.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also