#include <ntddk.h>
#include <winddi.h>
#include "regtests.h"
Go to the source code of this file.
◆ RunTest()
Definition at line 6 of file eng-mem-1.c.
7{
8#if 0
10 ULONG AllocSize1, AllocSize2;
11 ULONG AllocTag1, AllocTag2;
13
14
15 pmem1 = 0;
16 AllocSize1 = 1024;
17 AllocTag1 = 'zyxD';
19 _AssertNotEqualValue(pmem1,
NULL);
20
21
22 pmem2 = 0;
23 AllocSize2 = 1024;
24 AllocTag2 = 'zyxD';
25 pmem2 = EngAllocUserMem(AllocSize2, AllocTag2);
26 _AssertNotEqualValue(pmem1,
NULL);
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42
43
45#endif
46}
void * EngAllocMem(int zero, unsigned long size, int tag=0)
ENGAPI VOID APIENTRY EngFreeUserMem(_Pre_notnull_ __drv_freesMem(UserMem) PVOID pv)