version 2003
PA_GetBlobHandleParameter (params; index) PA_Handle
Parameter | Type | Description | |
params | PA_PluginParameters | Parameters received in PluginMain | |
index | short | Index of the parameter in params | |
Function result | PA_Handle | A 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.