MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / gdiReport

Function gdiReport

gui/utils/gdi.py:5–9  ·  view source on GitHub ↗
(desc='')

Source from the content-addressed store, hash-verified

3from collections import defaultdict
4import os
5def gdiReport(desc=''):
6 PH = windll.kernel32.OpenProcess(0x400, 0, os.getpid())
7 numGdi = windll.user32.GetGuiResources(PH, 0)
8 windll.kernel32.CloseHandle(PH)
9 print (f'{desc}, {numGdi}')
10
11
12last = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected