IObexDevice::Get (Windows Embedded CE 6.0)

1/6/2010

This method issues a Get command 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 IStream interface, 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

See Also

Reference

IObexDevice:IUnknown
OBEX Interfaces

Concepts

Client Support

Other Resources

IStream