windows-nt/Source/XPSP1/NT/printscan/print/drivers/usermode/inc/cppfunc.h

15 lines
272 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//
// Copyright (c) 1998 - 1999 Microsoft Corporation
//
inline void* __cdecl operator new(size_t nSize)
{
// return pointer to allocated memory
return DrvMemAllocZ(nSize);
}
inline void __cdecl operator delete(void *p)
{
if (p)
DrvMemFree(p);
}