| 121 | #endif |
| 122 | |
| 123 | size_t getExecutablePathName(char* pathName, size_t pathNameCapacity) { |
| 124 | return GetModuleFileNameA(NULL, pathName, (DWORD)pathNameCapacity); |
| 125 | } |
| 126 | void * loadDynamicLibrary ( const char * fileName ) { |
| 127 | // Bare names (e.g. "msvcrt") need to flow through unchanged so |
| 128 | // LOAD_LIBRARY_SEARCH_DEFAULT_DIRS resolves them via system32. |
no outgoing calls
no test coverage detected