public static uint joyGetPos( uint uJoyID, ref JOYINFO pji ) { uint ret = MMSYSERR_ERROR; if ( status_winmm != DllStatus.NotFound ) { try { ret = __joyGetPos( uJoyID, ref pji ); } catch ( DllNotFoundException ex ) { status_winmm = DllStatus.NotFound; } } return ret; }
private static extern uint __joyGetPos( uint uJoyID, ref JOYINFO pji );