次の方法で共有


ICcService::Disconnect (Compact 2013)

3/26/2014

Deprecated.

This method disconnects the service. After this method executes, any attempt to use the service for communication with the device side fails.

Syntax

HRESULT Disconnect()

Parameters

None.

Return Value

The following table shows return values for this method.

Value

Description

S_OK

Indicates success.

E_FAIL

Indicates failure.

Requirements

Header

ccservice.h

See Also

Reference

ICcService
Core Connectivity Interfaces