Windows Dev Center

CallControl.GetDefault | getDefault method

Returns a CallControl class that represents the default audio communications device.

Syntax


public:
static CallControl^ GetDefault()

Parameters

This method has no parameters.

Return value

Type: CallControl

A class that represents the default 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