C++中这样:
typedef struct
{
//Old parameters
SP_BBCHIP_TYPE m_bbchip_type;
SP_EXT_CLOCK m_ext_clock;
unsigned int m_ms_boot_timeout;
unsigned int m_max_start_cmd_retry_count;
//New parameters
unsigned int m_uTimeout;
unsigned int m_uRetryTime;
unsigned int m_uInterval;
unsigned int m_uBaudrate;
int * m_pStopFlag;
bool m_bIsUSBEnable;
bool m_bIsSymbolicEnable;
bool m_bIsCompositeDeviceEnable;
bool m_bDisableMobileLogService;
bool m_bMDlogging;
SP_BOOT_MODE m_euBootMode;
unsigned short m_uMDMode;
unsigned int m_uPortNumber;
char m_szPortSymbolic[256];
// Serial Link Authentication
SP_AUTH_HANDLE_T m_auth_handle;
SP_SCERT_HANDLE_T m_scert_handle;
SP_CALLBACK_SLA_CHALLENGE m_cb_sla_challeng