MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / GetCommandLineArguments

Function GetCommandLineArguments

Win32Lib/Win32Lib.cpp:431–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431std::vector<std::wstring> GetCommandLineArguments()
432{
433 int argc = 0;
434 HLocal args(CommandLineToArgvW(GetCommandLineW(), &argc));
435 auto argv = static_cast<const wchar_t**>(args.get());
436 return std::vector<std::wstring>(argv, argv + argc);
437}
438
439DWORD GetExitCodeProcess(HANDLE hProcess)
440{

Callers 3

GetExecutePathFunction · 0.85
MainFunction · 0.85
GetExecutePathFunction · 0.85

Calls

no outgoing calls

Tested by 1

GetExecutePathFunction · 0.68