diff options
| author | Valentin Popov <valentin@popov.link> | 2026-10-11 23:34:38 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-10-11 23:34:38 +0300 |
| commit | 5a68fef331af67171f29933954ddd60d3f5ea629 (patch) | |
| tree | b7e87844a0aaf7ef9ee7418ac4a2f1e4c1e69a3d | |
| parent | 3d97aa5ba6ed5e5de24d2c6218eba31c76cb7245 (diff) | |
| download | fparkan-5a68fef331af67171f29933954ddd60d3f5ea629.tar.xz fparkan-5a68fef331af67171f29933954ddd60d3f5ea629.zip | |
Use named debugger access constants
| -rw-r--r-- | tools/native-frame-capture/NativeFrameCapture.cs | 3 |
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 |
