FROM MSDN...
JOYCAPS
The JOYCAPS structure contains information about the joystick capabilities.

typedef struct {
WORD wMid;
WORD wPid;
CHAR szPname[32];
UINT wXmin;
UINT wXmax;
UINT wYmin;
UINT wYmax;
UINT wZmin;
UINT wZmax;
UINT wNumButtons;
UINT wPeriodMin;
UINT wPeriodMax;
UINT wRmin;
UINT wRmax;
UINT wUmin;
UINT wUmax;
UINT wVmin;
UINT wVmax;
UINT wCaps;
UINT wMaxAxes;
UINT wNumAxes;
UINT wMaxButtons;
CHAR szRegKey[32];
CHAR szOEMVxD[260];
} JOYCAPS;
Can someone tell me how to declare this structure in VB please?

I am trying to update an API call taht was originally coded in VB6 and now I have translated that into VB.net. But the extended version of that structure is as outlined above and I need to use that instead.

I cannot find any examples of VB.net code for this. I think I'd need to use some kind of <attribute> tag but I am at a loss.

Maybe one of you gurus can help? Its mainly the 3 CHAR arrays that I am having trouble with.