您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

GdiplusMem.h 1.1 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. \**************************************************************************/
  14. // TODO: this file style needs to be made internally consistent with the way
  15. // it handles breaking the long argument lists across multiple lines
  16. #ifndef _GDIPLUSMEM_H
  17. #define _GDIPLUSMEM_H
  18. #define WINGDIPAPI __stdcall
  19. // currently, only C++ wrapper API's force const.
  20. #ifdef _GDIPLUS_H
  21. #define GDIPCONST const
  22. #else
  23. #define GDIPCONST
  24. #endif
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. //----------------------------------------------------------------------------
  29. // Memory Allocation APIs
  30. //----------------------------------------------------------------------------
  31. void* WINGDIPAPI
  32. GdipAlloc(size_t size);
  33. void WINGDIPAPI
  34. GdipFree(void* ptr);
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif // !_GDIPLUSMEM_H