DeleteDevice Method

PPJoy

Deletes a Device from PPJoy.

Namespace:  PPJoy
Assembly:  PPJoyWrapper (in PPJoyWrapper.dll)

Syntax

Visual Basic (Declaration)
Public Sub DeleteDevice ( _
	device As Device, _
	removeDirectInput As Boolean, _
	removeDriver As Boolean _
)
C#
public void DeleteDevice(
	Device device,
	bool removeDirectInput,
	bool removeDriver
)
Visual C++
public:
void DeleteDevice(
	Device^ device, 
	bool removeDirectInput, 
	bool removeDriver
)

Parameters

device
Type: PPJoy..::.Device
a Device to delete from PPJoy.
removeDirectInput
Type: System..::.Boolean
If trueTruetruetrue (True in Visual Basic), the Device's registration will be removed from DirectInput. If falseFalsefalsefalse (False in Visual Basic), the Device's DirectInput registration will not be removed.
removeDriver
Type: System..::.Boolean
If trueTruetruetrue (True in Visual Basic), the Device's drivers will be unregistered from the system. If falseFalsefalsefalse (False in Visual Basic), the Device's drivers will not be unregistered from the system.

See Also