public static extern short GT_GetPid(short cardNum, short control, short index, out TPid pPid);
public static extern short GT_SetPid(short cardNum, short control, short index, ref TPid pPid);
public static extern short GT_GetPid(short cardNum, short control, short index, out TPid pPid);
public static extern short GT_SetPid(short cardNum, short control, short index, ref TPid pPid);