Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/2010
This method disconnects the current connection.to a remote device.
Syntax
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 Value
This method returns one of the following values.
| Return value | Description |
|---|---|
S_OK |
The request was completed successfully. |
E_FAIL |
The request failed. |
Requirements
| Header | obex.h, obex.idl |
| Library | uuid.lib |
| Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
IObexDevice:IUnknown
IHeaderCollection:IUnknown
OBEX Interfaces