#include "corecontrol.h" void InitCoreControl(CoreControl * pCtrl) { if (pCtrl != NULL) { memset(pCtrl, 0, sizeof(CoreControl)); // 初值,全部设置为0 } }