[Wine-patches] [2/10] include: Add LOCK_OPERATION definition.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пн Ноя 24 18:59:04 MSK 2008


----------- следующая часть -----------
From fa95536113d4164667e9f366c890c797d19fe127 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 8 Oct 2008 13:39:01 +0400
Subject: [PATCH] include: Add LOCK_OPERATION definition.

---
 include/ddk/wdm.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index 42ca6d7..53a5040 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -1025,6 +1025,12 @@ typedef struct _FAST_MUTEX {
     ULONG OldIrql;
 } FAST_MUTEX, *PFAST_MUTEX;
 
+typedef enum _LOCK_OPERATION {
+    IoReadAccess,
+    IoWriteAccess,
+    IoModifyAccess
+} LOCK_OPERATION;
+
 NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle);
 
 #define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.CurrentStackLocation)
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches