------------------------------------------------------------------------------------ Extracts the constant identifier from the string ------------------------------------------------------------------------------------
| 1800 | // Extracts the constant identifier from the string |
| 1801 | // ------------------------------------------------------------------------------------ |
| 1802 | void 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 |
no outgoing calls
no test coverage detected