Share via


IObexDevice::Disconnect (Windows CE 5.0)

Send Feedback

This method disconnects the current connection.to 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 one of the following values.

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

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 | IHeaderCollection | OBEX Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.