/* * Return the version matrix for the device attached to the * given handle. If the handle is 0 or invalid, only the * software and required api versions are set. */ public static int ch_version( int cheetah, ref CheetahVersion version ) { if (!CH_LIBRARY_LOADED) { return((int)CheetahStatus.CH_INCOMPATIBLE_LIBRARY); } return(net_ch_version(cheetah, ref version)); }
private static extern int net_ch_version(int cheetah, ref CheetahVersion version);