diff options
| author | Gerrit Swaneveld <[email protected]> | 2023-04-07 13:48:32 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-07 13:48:32 -0700 |
| commit | 5440e4c498a8d4fb08ad105c384ac96cb8c3eeb8 (patch) | |
| tree | 6022f0ee20a663a6bc042589b3009d71872ad7c4 | |
| parent | e553f426293dc4a244ab6315617456e3c5149f00 (diff) | |
[avstream/avscamera] Update hwsim.cpp (#954)
Add Paged Code Macros
| -rw-r--r-- | avstream/avscamera/sys/hwsim.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |
