Scan EXE resources for translated sections
| 108 | |
| 109 | // Scan EXE resources for translated sections |
| 110 | void CcppcryptfsApp::ScanResourcesForLanguages() { |
| 111 | m_vAvailableLangs.clear(); |
| 112 | // (IDS_LANGUAGE_NAME >> 4) + 1 - formula for calculating the block number in String Table |
| 113 | EnumResourceLanguages(NULL, RT_STRING, MAKEINTRESOURCE((IDS_LANGUAGE_NAME >> 4) + 1), |
| 114 | EnumLangsCallback, (LONG_PTR)&m_vAvailableLangs); |
| 115 | } |
| 116 | |
| 117 | // Direct reading of a string from a specific language section (bypassing the current thread locale) |
| 118 | CString CcppcryptfsApp::GetStringForLang(HMODULE hInst, UINT nID, WORD wLang) |
nothing calls this directly
no outgoing calls
no test coverage detected