IObexDevice::SetPath (Windows CE 5.0)

Send Feedback

This method issues a SetPath command to the server. This path defines where files are pushed to or pulled from the server after the local device is connected to a remote device.

HRESULT SetPath(LPCWSTRpszName,DWORDdwFlags,IHeaderCollection* pHeaders);

Parameters

  • pszName
    [in] Name of the path to open.
  • dwFlags
    [in] Flags to use.
  • pHeaders
    [in] Pointer to the headers collection for the remote device.

Return Values

This method returns one of the following values.

Return value Description
S_OK The request was completed successfully.
E_FAIL The request failed.

Remarks

In order to use this method, a connection to a remote device must exist and that connection must use a service that supports the IObexDevice::Get method.

Requirements

Smartphone: Smartphone 2002 and later

Pocket PC: Pocket PC 2002 and later

OS Versions: Windows CE .NET 4.0 and later.

Header: Obex.h, Obex.idl.

Link Library: Uuid.lib.

See Also

Client Support | IObexDevice | OBEX Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.