|
![]() |
![]() |
version 2003
PA_NewHandle (len) → PA_Handle
Parameter | Type | Description | |
len | long | → | Size in bytes of the PA_Handle |
Function result | PA_Handle | ← | Returns the allocated handle |
Description
The routine
PA_NewHandle
allocates
handleSize
bytes in memory and returns a handle (of type
PA_Handle
). If an error occurred,
PA_NewHandle
returns 0.
NOTE for MacOS developers
The allocated handle can be manipulated like a "regular" Macintosh handle.
PA_Handle
is defined as char** in PublicTypes.h, and this structure is used internally by the API (Pictures, BLOBs, etc.).