| 2525 | }; |
| 2526 | |
| 2527 | BOOL CALLBACK ResourceIndexToIdEnumProc(HMODULE hModule, LPCTSTR lpszType, LPTSTR lpszName, LONG_PTR lParam) |
| 2528 | { |
| 2529 | ResourceIndexToIdEnumData &enum_data = *(ResourceIndexToIdEnumData*)lParam; |
| 2530 | |
| 2531 | if (++enum_data.index == enum_data.find_index) |
| 2532 | { |
| 2533 | enum_data.result = lpszName; |
| 2534 | return FALSE; // Stop |
| 2535 | } |
| 2536 | return TRUE; // Continue |
| 2537 | } |
| 2538 | |
| 2539 | static TCHAR RESOURCE_ID_NOT_FOUND[] = {0}; |
| 2540 |
nothing calls this directly
no outgoing calls
no test coverage detected