public static uint joyGetPosEx( uint uJoyID, ref JOYINFOEX pji ) {
uint ret = MMSYSERR_ERROR;
if ( status_winmm != DllStatus.NotFound ) {
try {
ret = __joyGetPosEx( uJoyID, ref pji );
} catch ( DllNotFoundException ex ) {
status_winmm = DllStatus.NotFound;
}
}
return ret;
}
#endregion