mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
506 B
46 lines
506 B
/*++
|
|
|
|
Copyright (c) 1999 Microsoft Corporation
|
|
All rights reserved.
|
|
|
|
Module Name:
|
|
|
|
srvrmem.h
|
|
|
|
Abstract:
|
|
|
|
Prototypes for Memory Allocation routines for spoolsv.exe.
|
|
|
|
Author:
|
|
|
|
Khaled Sedky (Khaleds) 13-Jan-1999
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
|
|
#ifndef _SRVRMEM_H_
|
|
#define _SRVRMEM_H_
|
|
|
|
#define DWORD_ALIGN_UP(size) (((size)+3)&~3)
|
|
|
|
LPVOID
|
|
SrvrAllocSplMem(
|
|
DWORD cb
|
|
);
|
|
|
|
BOOL
|
|
SrvrFreeSplMem(
|
|
LPVOID pMem
|
|
);
|
|
|
|
LPVOID
|
|
SrvrReallocSplMem(
|
|
LPVOID pOldMem,
|
|
DWORD cbOld,
|
|
DWORD cbNew
|
|
);
|
|
|
|
#endif
|
|
|