IObexDevice::SetPath (Compact 2013)
3/26/2014
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.
Syntax
HRESULT SetPath(
LPCWSTR pszName,
DWORD dwFlags,
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 Value
This method returns one of the following values.
Return value |
Description |
---|---|
S_OK |
The request was completed successfully. |
E_FAIL |
The request was unsuccessful. |
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
Header |
obex.h, |
Library |
uuid.lib |