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
SetMdl(__in PMDL Mdl,__in ULONG Length)30 FxRequestBuffer::SetMdl(
31 __in PMDL Mdl,
32 __in ULONG Length
33 )
34 {
35 UNREFERENCED_PARAMETER(Mdl);
36 UNREFERENCED_PARAMETER(Length);
37
38 ASSERTMSG("Not implemented for UMDF\n", FALSE);
39 }
40
41 __inline
42 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)43 FxRequestBuffer::GetOrAllocateMdlWorker(
44 __in PFX_DRIVER_GLOBALS FxDriverGlobals,
45 __deref_out PMDL* Mdl,
46 __in BOOLEAN * ReuseMdl,
47 __in LONG Length,
48 __in PVOID Buffer,
49 __inout size_t* SizeOfMdl,
50 __in BOOLEAN UnlockWhenFreed,
51 __deref_out_opt PMDL* MdlToFree
52 )
53 {
54 UNREFERENCED_PARAMETER(FxDriverGlobals);
55 UNREFERENCED_PARAMETER(Mdl);
56 UNREFERENCED_PARAMETER(ReuseMdl);
57 UNREFERENCED_PARAMETER(Length);
58 UNREFERENCED_PARAMETER(Buffer);
59 UNREFERENCED_PARAMETER(SizeOfMdl);
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_
70