MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / have_args

Function have_args

libcppcryptfs/util/util.cpp:482–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480
481
482bool
483have_args()
484{
485 int argc = 1;
486
487 LPCWSTR cmdLine = GetCommandLineW();
488
489 LPTSTR *argv = NULL;
490
491 if (cmdLine)
492 argv = CommandLineToArgvW(cmdLine, &argc);
493
494 if (argv)
495 LocalFree(argv);
496 else
497 argc = 1;
498
499 return argc > 1;
500}
501
502bool
503OpenConsole(DWORD pid)

Callers 1

InitInstanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected