ReactOS 0.4.16-dev-297-gc569aee
pool.c
Go to the documentation of this file.
1/*
2* PROJECT: ReactOS Universal Audio Class Driver
3* LICENSE: GPL - See COPYING in the top level directory
4* FILE: drivers/usb/usbaudio/pool.c
5* PURPOSE: USB Audio device driver.
6* PROGRAMMERS:
7* Johannes Anderwald (johannes.anderwald@reactos.org)
8*/
9#include "usbaudio.h"
10
15{
17 if (Item)
18 {
19 // zero item
21 }
22
23 // done
24 return Item;
25}
26
27VOID
31{
32 /* free item */
34}
35
PVOID NTAPI AllocFunction(IN ULONG ItemSize)
Definition: pool.c:13
VOID NTAPI FreeFunction(IN PVOID Item)
Definition: pool.c:29
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
#define NonPagedPool
Definition: env_spec_w32.h:307
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1109
static UCHAR ItemSize[4]
Definition: parser.c:16
#define NTAPI
Definition: typedefs.h:36
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define USBAUDIO_TAG
Definition: usbaudio.h:13
_In_ WDFCOLLECTION _In_ WDFOBJECT Item