MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / isJobHandle

Function isJobHandle

src/envmodule.cpp:709–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707}
708
709bool isJobHandle(HANDLE h)
710{
711 JOBOBJECT_BASIC_ACCOUNTING_INFORMATION info = {};
712
713 const auto r = ::QueryInformationJobObject(h, JobObjectBasicAccountingInformation,
714 &info, sizeof(info), nullptr);
715
716 return r;
717}
718
719Process getProcessTree(HANDLE h)
720{

Callers 1

getProcessTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected