IObexDevice::SetPath

This method issues a SetPath command to the server. This path defines where files are pushed to or pulled from the server.

HRESULT SetPath(
  LPCWSTR pszName,
  DWORD dwFlags,
  IHeaderCollection* pHeaders
);

Parameters

  • pszName
    [in] Path name.
  • dwFlags
    [in] Flags to use.
  • pHeaders
    [in] Pointer to the headers collection.

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.

Requirements

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

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.