Source code of Windows XP (NT5)
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.

37 lines
1.1 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: memalloc.h
  6. * Content: header file for memory allocation
  7. * History:
  8. * Date By Reason
  9. * ==== == ======
  10. * 06-apr-95 craige initial implementation
  11. * 22-may-95 craige added MemAlloc16
  12. * 12-jun-95 craige added MemReAlloc
  13. * 26-jun-95 craige added GetPtr16
  14. * 26-jul-95 toddla added MemSize and fixed MemReAlloc
  15. *
  16. ***************************************************************************/
  17. #ifndef __MEMALLOC_INCLUDED__
  18. #define __MEMALLOC_INCLUDED__
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. extern void MemFini( void );
  23. extern void MemState( void );
  24. extern BOOL MemInit( void );
  25. extern void MemFree( LPVOID lptr );
  26. extern SIZE_T __cdecl MemSize( LPVOID lptr );
  27. extern LPVOID __cdecl MemAlloc( UINT size );
  28. extern LPVOID __cdecl MemReAlloc( LPVOID ptr, UINT size );
  29. extern LPVOID __cdecl MemAlloc16( UINT size, DWORD FAR *p16 );
  30. extern LPVOID GetPtr16( LPVOID ptr );
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34. #endif