Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method disconnects the local device from a remote device.
HRESULT Disconnect(
IHeaderCollection * pHeaders
);
Parameters
- pHeaders
[in] A header for a transaction that contains the GUID describing the service to disconnect from. The currently available services (and their respective GUID values) are identified in the following table.Value Description 0 Inbox (default value); supports object push. CLSID_FileExchange File transfer protocol; supports object push and object pull.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The method completed successfully.
Requirements
Pocket PC Platforms: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: obex.h
Library: obexguid.lib
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.