From 96eb96dfb613e4c745db6bd1f53a92fe7e2290fc Mon Sep 17 00:00:00 2001 From: karlf Date: Thu, 11 Aug 2016 13:28:13 -0700 Subject: Updated for "Windows 10 Anniversary Update" (Version 1607) --- avscamera/sys/Waitable.cpp | 69 ---------------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 avscamera/sys/Waitable.cpp (limited to 'avscamera/sys/Waitable.cpp') diff --git a/avscamera/sys/Waitable.cpp b/avscamera/sys/Waitable.cpp deleted file mode 100644 index 1de5827a..00000000 --- a/avscamera/sys/Waitable.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/************************************************************************** - - A/V Stream Camera Sample - - Copyright (c) 2014, Microsoft Corporation. - - File: - - waitable.cpp - - Abstract: - - Base interface for any object that is waitable. - In otherwords, it contains a kernel dispatch object. - - History: - - created 5/30/2014 - -**************************************************************************/ - -#include "Common.h" - -KWaitable:: -KWaitable() -{} - - -KWaitable:: -~KWaitable() -{} - -NTSTATUS -KWaitable:: -Wait( - _In_opt_ PLARGE_INTEGER Timeout -) -/*++ - -Routine Description: - - Default Wait implementation. - -Arguments: - - Timeout - - An optional timeout value in 100ns units. Negative is relative time. - If NULL, wait forever. - -Return Value: - - Success / Failure. - ---*/ -{ - PVOID pObj = GetDispatchObject() ; - - if(pObj != NULL) - { - return - KeWaitForSingleObject( - pObj, - Executive, - KernelMode, - FALSE, - Timeout); - } - return STATUS_SUCCESS; -} -- cgit v1.3.1