IObexDevice::Get (Compact 2013)

3/26/2014

This method issues a Get command for an object on an Object Exchange (OBEX) Protocol 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

See Also

Reference

IObexDevice
OBEX Interfaces

Other Resources

IStream