ReactOS  0.4.15-dev-3017-g1d9542d
fxrequestbufferum.hpp
Go to the documentation of this file.
1 /*++
2 
3  Copyright (c) Microsoft Corporation
4 
5  Module Name:
6 
7  FxRequestBufferUm.hpp
8 
9  Abstract:
10 
11  This module implements um specific functions for FxRequestBuffer.
12 
13  Author:
14 
15 
16 
17  Environment:
18 
19  User mode only
20 
21  Revision History:
22 
23  --*/
24 
25 #ifndef _FXREQUESTBUFFERUM_HPP_
26 #define _FXREQUESTBUFFERUM_HPP_
27 
28 __inline
29 VOID
31  __in PMDL Mdl,
33  )
34 {
37 
38  ASSERTMSG("Not implemented for UMDF\n", FALSE);
39 }
40 
41 __inline
44  __in PFX_DRIVER_GLOBALS FxDriverGlobals,
46  __in BOOLEAN * ReuseMdl,
49  __inout size_t* SizeOfMdl,
50  __in BOOLEAN UnlockWhenFreed,
51  __deref_out_opt PMDL* MdlToFree
52  )
53 {
54  UNREFERENCED_PARAMETER(FxDriverGlobals);
56  UNREFERENCED_PARAMETER(ReuseMdl);
60  UNREFERENCED_PARAMETER(UnlockWhenFreed);
61  UNREFERENCED_PARAMETER(MdlToFree);
62 
63  ASSERTMSG("Not implemented for UMDF\n", FALSE);
64 
65  return STATUS_UNSUCCESSFUL;
66 }
67 
68 
69 #endif // _FXREQUESTBUFFERUM_HPP_
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
LONG NTSTATUS
Definition: precomp.h:26
#define FALSE
Definition: types.h:117
long LONG
Definition: pedump.c:60
#define ASSERTMSG(msg, exp)
Definition: nt_native.h:431
unsigned char BOOLEAN
Definition: bufpool.h:45
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
static ULONG SizeOfMdl(VOID)
Definition: NtReadFile.c:36
#define __inout
Definition: dbghelp.h:50
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
#define __deref_out_opt
Definition: dbghelp.h:29
NTSTATUS GetOrAllocateMdlWorker(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __deref_out PMDL *Mdl, __in BOOLEAN *ReuseMdl, __in LONG Length, __in PVOID Buffer, __inout size_t *SizeOfMdl, __in BOOLEAN UnlockWhenFreed, __deref_out_opt PMDL *MdlToFree)
#define __deref_out
Definition: dbghelp.h:26
unsigned int ULONG
Definition: retypes.h:1
VOID SetMdl(__in PMDL Mdl, __in ULONG Length)
#define __in
Definition: dbghelp.h:35