private static extern int device_available_commands(IntPtr devicePtr, out CommandArray cmdArray);
private static extern void free_CommandArray(CommandArray commandArray);