ReactOS  0.4.15-dev-1647-g91fceab
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 
11 PVOID
12 NTAPI
15 {
17  if (Item)
18  {
19  // zero item
21  }
22 
23  // done
24  return Item;
25 }
26 
27 VOID
28 NTAPI
30  IN PVOID Item)
31 {
32  /* free item */
34 }
35 
#define IN
Definition: typedefs.h:39
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
#define USBAUDIO_TAG
Definition: usbaudio.h:13
VOID NTAPI FreeFunction(IN PVOID Item)
Definition: pool.c:29
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
static UCHAR ItemSize[4]
Definition: parser.c:16
PVOID NTAPI AllocFunction(IN ULONG ItemSize)
Definition: pool.c:13
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
unsigned int ULONG
Definition: retypes.h:1
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1099