public string GetvJoyManufacturerString() { return Marshal.PtrToStringAuto(_GetvJoyManufacturerString()); } public string GetvJoySerialNumberString() { return Marshal.PtrToStringAuto(_GetvJoySerialNumberString()); }
//retrieve driver info private string displayJoyDriverInfo() { String a = joystick.GetvJoyManufacturerString(); String b = joystick.GetvJoyProductString(); String c = joystick.GetvJoySerialNumberString(); return(a + " | " + b + " | " + c); }