GetDevice Method
From PPJoy
| PPJoy Wrapper Library reference library |
| DeviceManager..::.GetDevice Method |
| DeviceManager Class See Also |
Retrieves a Device object that matches the
specified query parameters.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GetDevice ( _ lptNum As Integer, _ unitNum As Integer _ ) As Device |
| C# |
|---|
public Device GetDevice( int lptNum, int unitNum ) |
| Visual C++ |
|---|
public: Device^ GetDevice( int lptNum, int unitNum ) |
Parameters
- lptNum
- Type: System..::.Int32
LPT Port number of the Device to retrieve; set to 0 for Virtual Joystick Devices.
- unitNum
- Type: System..::.Int32
Unit number of the Device to retrieve.