hello every one. i want to write wrapper for a board sdk with c#. the function implementation in sdk is :
void WINAPI GetSysInfo(TC_INI_TYPE *TmpIni);
that TC_INI_TYPE is a structure as below:
typedef struct {
WORD wCardNo;
WORD wCardType;
WORD wConnect;
WORD wIRQ;
char cbDir[LEN_FILEPATH];
WORD wAddress[MAX_CARD_NO];
WORD wMajorVer;
WORD wMinorVer;
WORD wChType[MAX_CHANNEL_NO];
} TC_INI_TYPE;
how i can write wrapper for structure TC_INI_TYPE
.