Dela via


SwapChainBackgroundPanel.CreateCoreIndependentInputSource Method

Definition

Note

SwapChainBackgroundPanel may be altered or unavailable for releases after Windows 8.1 Instead, use SwapChainPanel.

Creates a core input object that handles the input types as specified by the deviceTypes parameter.

public:
 virtual CoreIndependentInputSource ^ CreateCoreIndependentInputSource(CoreInputDeviceTypes deviceTypes) = CreateCoreIndependentInputSource;
CoreIndependentInputSource CreateCoreIndependentInputSource(CoreInputDeviceTypes const& deviceTypes);
public CoreIndependentInputSource CreateCoreIndependentInputSource(CoreInputDeviceTypes deviceTypes);
function createCoreIndependentInputSource(deviceTypes)
Public Function CreateCoreIndependentInputSource (deviceTypes As CoreInputDeviceTypes) As CoreIndependentInputSource

Parameters

deviceTypes
CoreInputDeviceTypes

A combined value of the enumeration.

Returns

An object that represents the input subsystem for interoperation purposes and can be used for input event connection points.

Remarks

Important

You must call CreateCoreIndependentInputSource from a non-UI thread, otherwise this method will fail.

Applies to

See also