mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:16:04 +00:00
[WDF] Add Windows Driver Framework files
Takern from Microsoft GitHub repo:
d9c6040fe9
Licensed under MIT
This commit is contained in:
parent
545df81502
commit
8a978a179f
475 changed files with 285099 additions and 0 deletions
38
sdk/lib/drivers/wdf/kmdf/inc/private/fxprobeandlock.h
Normal file
38
sdk/lib/drivers/wdf/kmdf/inc/private/fxprobeandlock.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
//
|
||||
// Copyright (C) Microsoft. All rights reserved.
|
||||
//
|
||||
#ifndef __FXPROBEANDLOCK_H__
|
||||
#define __FXPROBEANDLOCK_H__
|
||||
|
||||
extern "C" {
|
||||
|
||||
//
|
||||
// These are defined in a C file in src\support\ProbeAndLock.c
|
||||
// to avoid C++ exception handling issues.
|
||||
//
|
||||
// They do not raise the exception beyond the C function, but
|
||||
// translate it into an NTSTATUS before returning.
|
||||
//
|
||||
|
||||
NTSTATUS
|
||||
FxProbeAndLockForRead(
|
||||
__in PMDL Mdl,
|
||||
__in KPROCESSOR_MODE AccessMode
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
FxProbeAndLockForWrite(
|
||||
__in PMDL Mdl,
|
||||
__in KPROCESSOR_MODE AccessMode
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
FxProbeAndLockWithAccess(
|
||||
__in PMDL Mdl,
|
||||
__in KPROCESSOR_MODE AccessMode,
|
||||
__in LOCK_OPERATION Operation
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
#endif __FXPROBEANDLOCK_H__
|
Loading…
Add table
Add a link
Reference in a new issue