MCPcopy Create free account
hub / github.com/ThirteenAG/WidescreenFixesPack / wmain

Function wmain

source/EmbedPDB/main.cpp:267–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267int wmain(int argc, wchar_t* argv[])
268{
269 if (argc == 1)
270 {
271 std::wcout << L"Usage: EmbedPDB [-f] <file1> [file2] ...\n"
272 << L" -f Force full file scan for embedded PDB\n"
273 << L"Drag one or more files (.asi, .dll, .exe, etc.) onto this .exe" << std::endl;
274 return 0;
275 }
276
277 bool forceScan = false;
278 for (int i = 1; i < argc; ++i)
279 {
280 std::wstring arg = argv[i];
281 if (arg == L"-f" || arg == L"/f")
282 {
283 forceScan = true;
284 continue;
285 }
286 ProcessFile(argv[i], forceScan);
287 }
288
289 return 0;
290}

Callers

nothing calls this directly

Calls 1

ProcessFileFunction · 0.85

Tested by

no test coverage detected