public string GetvJoySerialNumberString() { return Marshal.PtrToStringAuto(_GetvJoySerialNumberString()); } public bool DriverMatch(ref UInt32 DllVer, ref UInt32 DrvVer) { return _DriverMatch(ref DllVer, ref DrvVer); }
//retrieve driver info private string displayJoyDriverInfo() { String a = joystick.GetvJoyManufacturerString(); String b = joystick.GetvJoyProductString(); String c = joystick.GetvJoySerialNumberString(); return(a + " | " + b + " | " + c); }