IInputDeviceManager Interface

Provides access to members that give life to Input Devices.

Members

Name Description
Method AddDevice Creates a single device given the CLSID, then passes initializationData to IInputDevice::Startup.
Read-only property Device The input device at the specified index.
Read-only property DeviceCLSID The CLSID of the input device at the specified index.
Read-only property DeviceCount The number of input devices loaded in the application.
Method FindDevice Finds the input device by CLSID (IUID) or name (String).
Method ShutdownDevices Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown.
Method StartupDevices Creates and starts the devices for Inut Device component category, passing initializationData to each in IInputDevice::Startup.

IInputDeviceManager.AddDevice Method

Creates a single device given the CLSID, then passes initializationData to IInputDevice::Startup.

Public Sub AddDevice ( _
    ByVal pDeviceCLSID As UID, _
    ByRef initializationData As Object _
)
public void AddDevice (
    UID pDeviceCLSID,
    ref object initializationData
);

IInputDeviceManager.Device Property

The input device at the specified index.

Public Function get_Device ( _
    ByVal Index As Integer _
) As IExtension
public IExtension get_Device (
    int Index
);

IInputDeviceManager.DeviceCLSID Property

The CLSID of the input device at the specified index.

Public Function get_DeviceCLSID ( _
    ByVal Index As Integer _
) As UID
public UID get_DeviceCLSID (
    int Index
);

IInputDeviceManager.DeviceCount Property

The number of input devices loaded in the application.

Public ReadOnly Property DeviceCount As Integer
public int DeviceCount {get;}

IInputDeviceManager.FindDevice Method

Finds the input device by CLSID (IUID) or name (String).

Public Function FindDevice ( _
    ByVal nameOrID As Object _
) As IExtension
public IExtension FindDevice (
    object nameOrID
);

IInputDeviceManager.ShutdownDevices Method

Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown.

Public Sub ShutdownDevices ( _
)
public void ShutdownDevices (
);

IInputDeviceManager.StartupDevices Method

Creates and starts the devices for Inut Device component category, passing initializationData to each in IInputDevice::Startup.

Public Sub StartupDevices ( _
    ByRef initializationData As Object _
)
public void StartupDevices (
    ref object initializationData
);

Classes that implement IInputDeviceManager

Classes Description
InputDeviceManager Input Device Manager - a singleton.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.