#pragma once #include "ramzed_sdk.h" #define DLLIMPORT typedef __declspec(dllimport) DLLIMPORT int (*US_init)(void); DLLIMPORT ramzed_sdk* (*US_instance)(void); DLLIMPORT void (*US_reg_image_done_cb)(void (*)(unsigned char*)); DLLIMPORT void (*US_reg_probe_connected_cb)(void (*)(unsigned char)); DLLIMPORT void (*US_reg_probe_disconnected_cb)(void (*)(unsigned char)); DLLIMPORT int (*US_set_mode)(unsigned char); DLLIMPORT int (*US_set_preset)(int); DLLIMPORT int (*US_get_B_depth)(unsigned char*, float*); DLLIMPORT int (*US_get_B_dynamic_range)(unsigned char*); DLLIMPORT int (*US_get_B_focus)(unsigned char*, float*); DLLIMPORT int (*US_get_B_frequency)(float*); DLLIMPORT int (*US_get_B_gain)(unsigned char*); DLLIMPORT int (*US_set_B_depth)(unsigned char); DLLIMPORT int (*US_set_B_dynamic_range)(unsigned char); DLLIMPORT int (*US_set_B_focus)(unsigned char); DLLIMPORT int (*US_set_B_frequency)(float); DLLIMPORT int (*US_set_B_gain)(unsigned char); DLLIMPORT int (*US_set_B_harmonic)(unsigned char); DLLIMPORT int (*US_set_B_power)(unsigned char); DLLIMPORT int (*US_get_C_angle)(unsigned char*); DLLIMPORT int (*US_get_C_frequency)(float*); DLLIMPORT int (*US_get_C_gain)(unsigned char*); DLLIMPORT int (*US_get_C_prf)(unsigned char*); DLLIMPORT int (*US_set_C_ROI)(int, int, int, int); DLLIMPORT int (*US_set_C_angle)(unsigned char); DLLIMPORT int (*US_set_C_frequency)(float); DLLIMPORT int (*US_set_C_gain)(unsigned char); DLLIMPORT int (*US_set_C_linear_angle)(int); DLLIMPORT int (*US_set_C_persistence)(unsigned char); DLLIMPORT int (*US_set_C_prf)(unsigned char); DLLIMPORT int (*US_set_C_range_wall_filter)(unsigned char); DLLIMPORT int (*US_set_C_speed_wall_filter)(unsigned char); DLLIMPORT int (*US_get_ctrl_table)(unsigned char*); DLLIMPORT int (*US_set_ctrl_table)(unsigned char*); DLLIMPORT int (*US_get_freeze)(unsigned char*); DLLIMPORT int (*US_set_freeze)(unsigned char); DLLIMPORT int (*US_get_tgc1)(float*); DLLIMPORT int (*US_get_tgc2)(float*); DLLIMPORT int (*US_get_tgc3)(float*); DLLIMPORT int (*US_get_tgc4)(float*); DLLIMPORT int (*US_get_tgc5)(float*); DLLIMPORT int (*US_get_tgc6)(float*); DLLIMPORT int (*US_get_tgc7)(float*); DLLIMPORT int (*US_get_tgc8)(float*); DLLIMPORT int (*US_set_tgc1)(unsigned char); DLLIMPORT int (*US_set_tgc2)(unsigned char); DLLIMPORT int (*US_set_tgc3)(unsigned char); DLLIMPORT int (*US_set_tgc4)(unsigned char); DLLIMPORT int (*US_set_tgc5)(unsigned char); DLLIMPORT int (*US_set_tgc6)(unsigned char); DLLIMPORT int (*US_set_tgc7)(unsigned char); DLLIMPORT int (*US_set_tgc8)(unsigned char);