Joystick Key Capture
问题 I want to capture input from joystick using winmm dll .. I don't have much knowledge of importing and working with DLLs. I tried to do it but i have no idea how to do it .. [DllImport("winmm.dll")] public static extern string joyGetPosEx(uint dev, JoyinfoEx ) //Something Similar How do I get joyinfoEx struct from DLL and put it into JoygetPosEx .. ? :S 回答1: As your question suggests, you have to import the joyGetPosEx function from wimmm.dll . This is often called P/Invoking because you're