ReactOS 0.4.15-dev-8222-g9164419
pool.c File Reference
#include "usbaudio.h"
Include dependency graph for pool.c:

Go to the source code of this file.

Functions

PVOID NTAPI AllocFunction (IN ULONG ItemSize)
 
VOID NTAPI FreeFunction (IN PVOID Item)
 

Function Documentation

◆ AllocFunction()

PVOID NTAPI AllocFunction ( IN ULONG  ItemSize)

Definition at line 13 of file pool.c.

15{
17 if (Item)
18 {
19 // zero item
21 }
22
23 // done
24 return Item;
25}
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
#define NonPagedPool
Definition: env_spec_w32.h:307
static UCHAR ItemSize[4]
Definition: parser.c:16
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
#define USBAUDIO_TAG
Definition: usbaudio.h:13
_In_ WDFCOLLECTION _In_ WDFOBJECT Item

◆ FreeFunction()

VOID NTAPI FreeFunction ( IN PVOID  Item)

Definition at line 29 of file pool.c.

31{
32 /* free item */
34}
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1109