ReactOS  0.4.15-dev-3297-g037c744
mxmemorykm.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) Microsoft Corporation
4 
5 ModuleName:
6 
7  MxMemoryKm.h
8 
9 Abstract:
10 
11  Kernel mode implementation of memory
12  class defined in MxMemory.h
13 
14 Author:
15 
16 
17 
18 Revision History:
19 
20 
21 
22 --*/
23 
24 #pragma once
25 
26 #include "mxmemory.h"
27 
28 __inline
29 PVOID
33  __in ULONG Tag
34  )
35 {
37 }
38 
39 __inline
40 VOID
42  __in PVOID Ptr
43  )
44 {
45  ExFreePool(Ptr);
46 }
47 
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
static __inline VOID MxFreePool(__in PVOID Ptr)
Definition: mxmemorykm.h:41
static __inline PVOID MxAllocatePoolWithTag(__in POOL_TYPE PoolType, __in SIZE_T NumberOfBytes, __in ULONG Tag)
Definition: mxmemorykm.h:30
INT POOL_TYPE
Definition: typedefs.h:78
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4061
ULONG_PTR SIZE_T
Definition: typedefs.h:80
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER NumberOfBytes
Definition: iotypes.h:1035
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3810
unsigned int ULONG
Definition: retypes.h:1
#define __in
Definition: dbghelp.h:35
#define ExFreePool(addr)
Definition: env_spec_w32.h:352