LPJOYCAPS

typedef LPJOYCAPSW LPJOYCAPS;
typedef LPJOYCAPSA LPJOYCAPS;
typedef struct joycaps_tag {
    WORD wMid;                  
    WORD wPid;                  
    char szPname[MAXPNAMELEN];  
    UINT wXmin;                 
    UINT wXmax;                 
    UINT wYmin;                 
    UINT wYmax;                 
    UINT wZmin;                 
    UINT wZmax;                 
    UINT wNumButtons;           
    UINT wPeriodMin;            
    UINT wPeriodMax;            
#if (WINVER >= 0x0400)
    UINT wRmin;                 
    UINT wRmax;                 
    UINT wUmin;                 
    UINT wUmax;                 
    UINT wVmin;                 
    UINT wVmax;                 
    UINT wCaps;                 
    UINT wMaxAxes;              
    UINT wNumAxes;              
    UINT wMaxButtons;           
    char szRegKey[MAXPNAMELEN]; 
    char szOEMVxD[MAX_JOYSTICKOEMVXDNAME]; 
#endif
} JOYCAPS, *PJOYCAPS, NEAR *NPJOYCAPS, FAR *LPJOYCAPS;