Leaked source code of windows server 2003
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.

54 lines
1.1 KiB

  1. /**************************************************************************\
  2. *
  3. * Copyright (c) 1998-2000, Microsoft Corp. All Rights Reserved.
  4. *
  5. * Module Name:
  6. *
  7. * GdiplusMem.h
  8. *
  9. * Abstract:
  10. *
  11. * Flat GDI+ Memory Allocators - header file
  12. *
  13. * Revision History:
  14. *
  15. * 04/27/2000 gillesk
  16. * Added Memory APIs
  17. *
  18. \**************************************************************************/
  19. // TODO: this file style needs to be made internally consistent with the way
  20. // it handles breaking the long argument lists across multiple lines
  21. #ifndef _GDIPLUSMEM_H
  22. #define _GDIPLUSMEM_H
  23. #define WINGDIPAPI __stdcall
  24. // currently, only C++ wrapper API's force const.
  25. #ifdef _GDIPLUS_H
  26. #define GDIPCONST const
  27. #else
  28. #define GDIPCONST
  29. #endif
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33. //----------------------------------------------------------------------------
  34. // Memory Allocation APIs
  35. //----------------------------------------------------------------------------
  36. void* WINGDIPAPI
  37. GdipAlloc(size_t size);
  38. void WINGDIPAPI
  39. GdipFree(void* ptr);
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif // !_GDIPLUSMEM_H