Windows Dev Center

CallControl.FromId | fromId method

Returns a CallControl class that represents the audio communications device specified by the DeviceInformation ID being passed.

Syntax


Public Shared Function FromId(
  deviceId As String 
) As CallControl

Parameters

deviceId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The DeviceInformation ID of the specified audio communications device.

Return value

Type: CallControl

A class that represents the specified audio communications device.

Remarks

This method may return a NULL pointer if the device doesn't support this functionality.

Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.Media.Devices.CallControlContract, introduced version 1.0

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.Media.Devices.CallControlContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.winmd

See also

CallControl

 

 

Show:
© 2015 Microsoft