// CsWin32 — the only P/Invoke surface besides NativeAntiCheatGuard (CLAUDE.md: native reachable
// only through Infrastructure). Marshaling is OFF (NativeMethods.json): DXGI objects are raw
// vtables, not RCWs, so no apartment ever gets a say in which thread may touch them.
CreateDXGIFactory1
IDXGIFactory6
IDXGIAdapter3
IDXGIDevice
DXGI_ADAPTER_DESC1
DXGI_ADAPTER_FLAG
DXGI_GPU_PREFERENCE
PdhOpenQueryW
PdhAddEnglishCounterW
PdhCollectQueryData
PdhGetFormattedCounterValue
PdhCloseQuery
PDH_FMT_COUNTERVALUE
PDH_FMT
QueryPerformanceCounter
QueryPerformanceFrequency
// The command pipe (07_IPC §C, P3 PR-1): created through CreateNamedPipe rather than the framework's
// constructor so the DACL is the SDDL PipeAccessControl states and PIPE_REJECT_REMOTE_CLIENTS is set
// explicitly — what the kernel enforces is what the code says, not a library default nobody can read.
CreateNamedPipe
SECURITY_ATTRIBUTES
FILE_FLAGS_AND_ATTRIBUTES
NAMED_PIPE_MODE
// The primary display's mode for hardware_snapshots.display_res / display_hz (P3 PR-3, Recording.PrimaryDisplay).
EnumDisplaySettings
DEVMODEW
ENUM_DISPLAY_SETTINGS_MODE
// The crash path's minidump (10_LOGGING §Crash handling, P4 PR-9, Diagnostics.CrashDumpWriter): the process's own
// memory into a file under crashdumps\, never another process's.
MiniDumpWriteDump
MINIDUMP_TYPE
// The machine beside the GPU (Telemetry.SystemTelemetrySource, 2026-09-21): CPU busy time and physical memory in use,
// two system-wide counters that open no process.
GetSystemTimes
GlobalMemoryStatusEx
MEMORYSTATUSEX
// The game's window, read OUT of its process for the display mode (beta.10, Display.WindowGeometryProbe; 03_METRICS
// Display mode): documented questions about a top-level window, the focus sample's class of call, never the game's memory.
IsWindow
IsWindowVisible
IsIconic
GetWindowThreadProcessId
GetAncestor
GET_ANCESTOR_FLAGS
GetClientRect
ClientToScreen
GetWindowLongPtr
WINDOW_LONG_PTR_INDEX
WINDOW_EX_STYLE
EnumWindows
MonitorFromWindow
MONITOR_FROM_FLAGS
GetMonitorInfo
MONITORINFOEXW
DwmGetWindowAttribute
DWMWINDOWATTRIBUTE
SetThreadDpiAwarenessContext
// The Agent's admin mode (beta.10, owner decision D34; 01_ARCHITECTURE ADR-9). A game an elevated Agent starts gets the
// token the desktop shell runs with, never the Agent's (Startup.UnelevatedProcess); a lock an elevated process creates
// states a DACL the same user's unelevated processes can open (Startup.SharedMutex); and the token's enabled privileges
// are read, never changed (Startup.TokenPrivileges) - nothing here adjusts a privilege (tools/chokepoint-check.ps1).
GetShellWindow
GetCurrentProcess
OpenProcess
OpenProcessToken
DuplicateTokenEx
CreateProcessWithTokenW
STARTUPINFOW
PROCESS_INFORMATION
PROCESS_CREATION_FLAGS
GetTokenInformation
TOKEN_PRIVILEGES
TOKEN_ELEVATION
LookupPrivilegeName
CreateMutex
WaitForSingleObject
ReleaseMutex
CloseHandle
