Checks whether a given integer containing a VendorID/ProductID
combination (typically obtained from DirectInput) refers to a virtual
Device or a physical
Device.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function IsVirtualDevice ( _
vendorIdentityProductId As Integer _
) As Boolean |
C# |
---|
public bool IsVirtualDevice(
int vendorIdentityProductId
) |
Visual C++ |
---|
public:
bool IsVirtualDevice(
int vendorIdentityProductId
) |
Parameters
- vendorIdentityProductId
- Type: System..::.Int32
A 32-bit integer containing
a VendorID (in the high 16 bits) and a Product ID
(in the low 16 bits), indicating a particular Device on the system.
Return Value
trueTruetruetrue (True in Visual Basic), if the
Device matching
the specified
vendorIdentityProductId
is a PPJoy virtual
Device, or
falseFalsefalsefalse (False in Visual Basic)
if it is a physical
Device.
See Also