' ########################################################################################
' Microsoft Windows
' File: GdiPlusMem.inc
' Contents: GDI+ Private Memory Management APIs
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_GdiPlusMem_PBI)
#DEFINE PBX_GdiPlusMem_PBI
%GDIPLUSMEM_INC = 1
'//----------------------------------------------------------------------------
'// Memory Allocation APIs
'//----------------------------------------------------------------------------
DECLARE FUNCTION GdipAlloc LIB "gdiplus.dll" ALIAS "GdipAlloc" ( BYVAL size AS QUAD ) AS QUAD ' void*
DECLARE SUB GdipFree LIB "gdiplus.dll" ALIAS "GdipFree" ( BYVAL ptr AS QUAD ) ' void