From 5440e4c498a8d4fb08ad105c384ac96cb8c3eeb8 Mon Sep 17 00:00:00 2001 From: Gerrit Swaneveld <55601905+gerritsMSFT@users.noreply.github.com> Date: Fri, 7 Apr 2023 13:48:32 -0700 Subject: [avstream/avscamera] Update hwsim.cpp (#954) Add Paged Code Macros --- avstream/avscamera/sys/hwsim.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/avstream/avscamera/sys/hwsim.cpp b/avstream/avscamera/sys/hwsim.cpp index fdf7b367..80a4adcf 100644 --- a/avstream/avscamera/sys/hwsim.cpp +++ b/avstream/avscamera/sys/hwsim.cpp @@ -796,6 +796,7 @@ bool CHardwareSimulation:: CheckForAvailableBuffer() { + PAGED_CODE(); return true; } @@ -803,6 +804,7 @@ NTSTATUS CHardwareSimulation:: CommitImageData(PSCATTER_GATHER_ENTRY sGEntry, ULONG stride) { + PAGED_CODE(); // Have the synthesizer output a frame to the buffer. ULONG CommitBufferSize = sGEntry->ByteCount; PUCHAR CommitBufferAddress = sGEntry->Virtual; @@ -818,6 +820,7 @@ NTSTATUS CHardwareSimulation:: ValidateBuffer(PSCATTER_GATHER_ENTRY sGEntry) { + PAGED_CODE(); return STATUS_SUCCESS; } -- cgit v1.3.1