MCPcopy Create free account
hub / github.com/ThunderCls/xAnalyzer / GetConstantValue

Function GetConstantValue

xAnalyzer/xanalyzer.cpp:1802–1816  ·  view source on GitHub ↗

------------------------------------------------------------------------------------ Extracts the constant identifier from the string ------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1800// Extracts the constant identifier from the string
1801// ------------------------------------------------------------------------------------
1802void GetConstantValue(char *lpszApiConstant, const char *CommentString)
1803{
1804 int index = 0;
1805 int indexConst = 0;
1806
1807 ZeroMemory(lpszApiConstant, MAX_PATH);
1808 if (CommentString[indexConst] == '[')
1809 indexConst++;
1810
1811 do{
1812 lpszApiConstant[index] = CommentString[indexConst];
1813 index++;
1814 indexConst++;
1815 } while (CommentString[indexConst] != ']' /*&& CommentString[indexConst] != ' ' */&& CommentString[indexConst] != '\0');
1816}
1817
1818// ------------------------------------------------------------------------------------
1819// Search the.api file(.ini) - based on the module name, for the section that

Callers 2

TraverseHFilesTreeFunction · 0.85
IsHeaderConstantFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected