PA_SetBlobParameter

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

version 2003


PA_SetBlobParameter (params; index; blob; blobSize)

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
indexshortIndex of the parameter in params
blobvoid*Pointer to the new BLOB data
blobSizelongBLOB size in bytes

Description

The routine PA_SetBlobParameter sets the value of the index parameter in params to blob.

Pass a pointer to the data buffer in blob and its size in bytes in blobSize.

Note that blob is duplicated in the parameter, so blob still belongs to the plug-in after the call.

The previous data in the parameter is disposed.

See Create a new plug-in for a description of parameter accessors.

NOTE:

The first parameter starts at index 1

See Also

Create a new plugin, PA_SetBlobHandleParameter.

Error Handling

None.


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