EXPORT BOOL WINAPI joyStat( PVAL2 *pv, int p1, int p2, int p3 )
{
JOYINFO *ptr = (JOYINFO *)pv->pt;
return -(int)joyGetPos( 0, ptr );
}