public static uint joyGetDevCapsW( uint uJoyID, ref JOYCAPSW pjc, uint cbjc ) {
uint ret = MMSYSERR_ERROR;
if ( status_winmm != DllStatus.NotFound ) {
try {
ret = __joyGetDevCapsW( uJoyID, ref pjc, cbjc );
} catch ( DllNotFoundException ex ) {
status_winmm = DllStatus.NotFound;
}
}
return ret;
}