Home COM GDI+ WebBrowser Data Access 

Memory Functions (GDI+)

 

GdipAlloc

 

Description

Allocates memory for GDI+ objects.

Syntax

void* WINGDIPAPI GdipAlloc(

    size_t size

);

PowerBASIC Syntax

DECLARE FUNCTION GdipAlloc ( _

    BYVAL psize AS DWORD _

) AS DWORD

Parameter

 

size

[in] Number of bytes to be allocated.

Return Value

If the function succeeds, the return value is a pointer to the allocated memory block.

 

If the function fails, then return value is NULL.

 

GdipFree

 

Description

Frees memory allocated for GDI+ objects.

Syntax

void WINGDIPAPI GdipFree(

    void* ptr

);

PowerBASIC Syntax

DECLARE SUB GdipFree ( _

    BYVAL pptr AS DWORD _

 )

Parameter

 

ptr

[in] Pointer to the memory block to free.

Return Value

No return  value.

 

Page last updated on Monday, 11 December 2006 11:01:57 +0100