summaryrefslogtreecommitdiff
path: root/audio/sysvad/adapter.cpp
diff options
context:
space:
mode:
authorGirish Pattabiraman <[email protected]>2017-02-08 15:02:51 -0800
committerGirish Pattabiraman <[email protected]>2017-02-08 15:02:51 -0800
commit42cd81689c12568ae4451fe956da6bb5e453e058 (patch)
treeaf655861274bc4ca6c8c7404caec4cd86aa18ef9 /audio/sysvad/adapter.cpp
parent27fa3e21b807201a69146d1d16bf297c7e1fe880 (diff)
Add NewDelete operators locally as recommeded in C4595 warning and "stdunk.h"
Diffstat (limited to 'audio/sysvad/adapter.cpp')
-rw-r--r--audio/sysvad/adapter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/sysvad/adapter.cpp b/audio/sysvad/adapter.cpp
index 12e57156..83c72f9b 100644
--- a/audio/sysvad/adapter.cpp
+++ b/audio/sysvad/adapter.cpp
@@ -1059,6 +1059,9 @@ Return Value:
IO_STACK_LOCATION *stack;
PortClassDeviceContext *ext;
+ // Documented https://msdn.microsoft.com/en-us/library/windows/hardware/ff544039(v=vs.85).aspx
+ // This method will be called in IRQL PASSIVE_LEVEL
+#pragma warning(suppress: 28118)
PAGED_CODE();
ASSERT(_DeviceObject);