GuiSymbolUpdateModuleList
Refreshes the symbol view modules list.
void GuiSymbolUpdateModuleList(int count, SYMBOLMODULEINFO* modules)
参数
count
An integer representing the number of symbol module’s to update.
modules
A SYMBOLMODULEINFO variable that will hold the symbol module information.
返回值
此函数不返回值。
示例
// Build the vector of modules std::vector<SYMBOLMODULEINFO> modList; if(!SymGetModuleList(&modList)) { GuiSymbolUpdateModuleList(0, nullptr); return; } // Create a new array to be sent to the GUI thread size_t moduleCount = modList.size(); SYMBOLMODULEINFO* data = (SYMBOLMODULEINFO*)BridgeAlloc(moduleCount * sizeof(SYMBOLMODULEINFO)); // Direct copy from std::vector data memcpy(data, modList.data(), moduleCount * sizeof(SYMBOLMODULEINFO)); // Send the module data to the GUI for updating GuiSymbolUpdateModuleList((int)moduleCount, data);