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 issues a Getcommand for an object on an OBEX server.This retrieves information from the remote device using a specific service.

Syntax

HRESULT Get(
  IHeaderCollection* 
pHeaders, 
  IStream** 
ppStream
);

Parameters

pHeaders

[in] Pointer to the headers collection that describes the object.

ppStream

[out] Destination pointer to the IStreaminterface, which is used to write the data.

Return Value

The appropriate HResult is returned.

Remarks

This method is not available with all services. For example, the Inbox service does not allow information to be pulled from it; information can only be pushed through an Inbox service.

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

Reference

IObexDevice:IUnknown
OBEX Interfaces

Concepts

Client Support

Other Resources

IStream