windows-nt/Source/XPSP1/NT/printscan/print/spooler/inetsrv/genmem.h

31 lines
781 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*****************************************************************************\
* MODULE: genmem.h
*
* This is the header module for mem.c. This contains valuable memory
* management wrappers.
*
*
* Copyright (C) 1996-1997 Microsoft Corporation
* Copyright (C) 1996-1997 Hewlett Packard
*
* history:
* 22-Nov-1996 <chriswil> created.
*
\*****************************************************************************/
// Identifier at the end of the memory-block to check when
// verifying memory-overwrites.
//
#define DEADBEEF 0xdeadbeef
// Memory Routines.
//
LPVOID genGAlloc(DWORD);
BOOL genGFree(LPVOID, DWORD);
LPVOID genGRealloc(LPVOID, DWORD, DWORD);
LPWSTR genGAllocWStr(LPCWSTR);
LPTSTR genGAllocStr(LPCTSTR);
LPVOID genGCopy(LPVOID);
DWORD genGSize(LPVOID);