ReactOS 0.4.15-dev-8119-g4fb2fdb
fxprobeandlock.h
Go to the documentation of this file.
1//
2// Copyright (C) Microsoft. All rights reserved.
3//
4#ifndef __FXPROBEANDLOCK_H__
5#define __FXPROBEANDLOCK_H__
6
7extern "C" {
8
9//
10// These are defined in a C file in src\support\ProbeAndLock.c
11// to avoid C++ exception handling issues.
12//
13// They do not raise the exception beyond the C function, but
14// translate it into an NTSTATUS before returning.
15//
16
21 );
22
27 );
28
34 );
35
36}
37
38#endif // __FXPROBEANDLOCK_H__
LONG NTSTATUS
Definition: precomp.h:26
#define __in
Definition: dbghelp.h:35
FP_OP Operation
Definition: fpcontrol.c:150
NTSTATUS FxProbeAndLockWithAccess(__in PMDL Mdl, __in KPROCESSOR_MODE AccessMode, __in LOCK_OPERATION Operation)
Definition: probeandlock.c:74
NTSTATUS FxProbeAndLockForWrite(__in PMDL Mdl, __in KPROCESSOR_MODE AccessMode)
Definition: probeandlock.c:55
NTSTATUS FxProbeAndLockForRead(__in PMDL Mdl, __in KPROCESSOR_MODE AccessMode)
Definition: probeandlock.c:36
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
enum _LOCK_OPERATION LOCK_OPERATION
_In_ PEPROCESS _In_ KPROCESSOR_MODE AccessMode
Definition: mmfuncs.h:396