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

Method GetPrivateBytes

DebugView++Lib/ProcessInfo.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48size_t ProcessInfo::GetPrivateBytes()
49{
50 PROCESS_MEMORY_COUNTERS_EX memoryCounters;
51 GetProcessMemoryInfo(GetCurrentProcess(), reinterpret_cast<PROCESS_MEMORY_COUNTERS*>(&memoryCounters), sizeof(memoryCounters));
52 return memoryCounters.PrivateUsage;
53}
54
55std::wstring ProcessInfo::GetProcessName(HANDLE handle)
56{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected