ReactOS 0.4.15-dev-8413-gc1c91f2
pool.cpp
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Kernel Streaming
4 * FILE: drivers/wdm/audio/backpln/portcls/pool.cpp
5 * PURPOSE: Memory functions
6 * PROGRAMMER: Johannes Anderwald
7 */
8
9#include "private.hpp"
10
15 IN ULONG Tag)
16{
17 return ExAllocatePoolZero(PoolType, NumberOfBytes, Tag);
18}
19
20VOID
23 IN ULONG Tag)
24{
26}
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1109
PVOID AllocateItem(IN POOL_TYPE PoolType, IN SIZE_T NumberOfBytes, IN ULONG Tag)
Definition: pool.cpp:12
VOID FreeItem(IN PVOID Item, IN ULONG Tag)
Definition: pool.cpp:21
INT POOL_TYPE
Definition: typedefs.h:78
ULONG_PTR SIZE_T
Definition: typedefs.h:80
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4065
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3815
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER NumberOfBytes
Definition: iotypes.h:1036