次の方法で共有


IDeviceController::RemoveDevice method (windows.media.streaming.h)

Removes the specified device from the list of devices that is returned by the CachedDevices method.

Syntax

HRESULT RemoveDevice(
  [in] ABI::Windows::Media::Streaming::IBasicDevice *device
);

Parameters

[in] device

A reference to an IBasicDevice that represents the device to remove from the list.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Target Platform Windows
Header windows.media.streaming.h

See also

IDeviceController