SwapChainBackgroundPanel.CreateCoreIndependentInputSource Metode

Definisi

Catatan

SwapChainBackgroundPanel dapat diubah atau tidak tersedia untuk rilis setelah Windows 8.1 Sebagai gantinya, gunakan SwapChainPanel.

Membuat objek input inti yang menangani jenis input seperti yang ditentukan oleh parameter deviceTypes .

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

Parameter

deviceTypes
CoreInputDeviceTypes

Nilai gabungan enumerasi.

Mengembalikan

Objek yang mewakili subsistem input untuk tujuan interoperabilitas dan dapat digunakan untuk titik koneksi peristiwa input.

Keterangan

Penting

Anda harus memanggil CreateCoreIndependentInputSource dari utas non-UI, jika tidak, metode ini akan gagal.

Berlaku untuk

Lihat juga