From 42cd81689c12568ae4451fe956da6bb5e453e058 Mon Sep 17 00:00:00 2001 From: Girish Pattabiraman Date: Wed, 8 Feb 2017 15:02:51 -0800 Subject: Add NewDelete operators locally as recommeded in C4595 warning and "stdunk.h" --- audio/sysvad/adapter.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'audio/sysvad/adapter.cpp') 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); -- cgit v1.3.1