aboutsummaryrefslogtreecommitdiff
path: root/tools/native-frame-capture
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-10-11 23:34:38 +0300
committerValentin Popov <valentin@popov.link>2026-10-11 23:34:38 +0300
commit5a68fef331af67171f29933954ddd60d3f5ea629 (patch)
treeb7e87844a0aaf7ef9ee7418ac4a2f1e4c1e69a3d /tools/native-frame-capture
parent3d97aa5ba6ed5e5de24d2c6218eba31c76cb7245 (diff)
downloadfparkan-5a68fef331af67171f29933954ddd60d3f5ea629.tar.xz
fparkan-5a68fef331af67171f29933954ddd60d3f5ea629.zip
Use named debugger access constants
Diffstat (limited to 'tools/native-frame-capture')
-rw-r--r--tools/native-frame-capture/NativeFrameCapture.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/native-frame-capture/NativeFrameCapture.cs b/tools/native-frame-capture/NativeFrameCapture.cs
index 47774f5..7546831 100644
--- a/tools/native-frame-capture/NativeFrameCapture.cs
+++ b/tools/native-frame-capture/NativeFrameCapture.cs
@@ -2509,7 +2509,8 @@ internal static partial class NativeFrameCapture
uint debugEventsSeen = 0, debugEventsContinued = 0, lastDebugEventCode = 0;
uint debugCreateThreadEvents = 0, debugExitThreadEvents = 0, debugLoadDllEvents = 0;
uint debugExceptionEvents = 0, debugSingleStepEvents = 0, lastDebugEventPid = 0, lastDebugEventTid = 0;
- const uint ProcessAccessForFrameCapture = 0x0001 | 0x0008 | 0x0010 | 0x0020 | 0x0400 | 0x00100000;
+ const uint ProcessAccessForFrameCapture = ProcessTerminate | ProcessVmOperation | ProcessVmRead
+ | ProcessVmWrite | ProcessQueryInformation | Synchronize;
FrameSnapshot frame = new FrameSnapshot();
frame.SelectedCameraRequested = selectedCameraInput != null;
SelectedCameraState selectedCamera = selectedCameraInput == null ? null