MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / Impl

Method Impl

WinSysCore/ProcessManager.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 static bool _isElevated;
34
35 Impl() {
36 if (_totalProcessors == 0) {
37 _totalProcessors = ::GetActiveProcessorCount(ALL_PROCESSOR_GROUPS);
38 _isElevated = Process::OpenById(::GetCurrentProcessId())->IsElevated();
39 }
40 }
41
42 size_t EnumProcesses(bool includeThreads, uint32_t pid);
43 std::shared_ptr<ProcessInfo> BuildProcessInfo(const SYSTEM_PROCESS_INFORMATION* info, bool includeThreads,

Callers

nothing calls this directly

Calls 1

IsElevatedMethod · 0.45

Tested by

no test coverage detected