PA_SetTextParameter


version 2003


PA_SetTextParameter (params; index; text; len)

Parameter Type Description
params PA_PluginParameters Parameters received in PluginMain
index short Index of the parameter in params
text char* New value
len long Text size in bytes

Description

The routine PA_SetTextParameter sets the value of the index parameter in params to text .

Pass a pointer to the text buffer in text and its size in bytes in len .

This buffer is duplicated in the parameter and still belongs to the plug-in after the call.

The previous text in the parameter is disposed.

See Create a new plugin for a description of parameter accessors.

NOTE

:

The first parameter starts at index 1

Depending on default settings or on previous calls to PA_UseMacCharacters or PA_UseANSICharacters , text may contain Macintosh or ANSI characters.

See Also

Create a new plugin .

Error Handling

None.