PA_GetBlobHandleParameter

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_GetBlobHandleParameter (params; index) PA_Handle

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
indexshortIndex of the parameter in params
Function resultPA_HandleA handle to the BLOB parameter

Description

The command PA_GetBlobHandleParameter returns a handle to the BLOB that is in the index parameter of params.

This may be very useful, especially when the plug-in wants to read the BLOB without modifying it. On the other hand, PA_GetBlobParameter gets a copy of the BLOB and can manipulate it, but this may lead to memory problems for "large" BLOBs.

WARNING

The handle belongs to 4D; never dispose of it.

See Also

Create a new plugin, PA_GetBlobParameter.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next