int SelectAndInitDisplay(char *pcName){ int iError; g_ptDispOpr = GetDispOpr(pcName); if (!g_ptDispOpr) { return -1; } iError = g_ptDispOpr->DeviceInit(); return iError;} 代码跟踪 SelectAndInitDisplay() GetDispOpr() g_ptDispOpr->DeviceInit()