OfxParameterSuiteV1::paramGetHandle
— Retrieves the handle for a parameter in a given parameter set
#include "ofxParam.h"
OfxStatus
(*paramGetHandle)
(
|
OfxParamSetHandle paramSet , |
const char * name , | |
OfxParamHandle * param , | |
OfxPropertySetHandle *
propertySet
)
;
|
Parameter handles retrieved from an instance are always distinct in each instance. The paramter handle is valid for the life-time of the instance. Parameter handles in instances are distinct from paramter handles in plugins. You cannot call this in a plugin's describe function, as it needs an instance to work on.
kOfxStatOK
- the parameter was found and returned
kOfxStatErrBadHandle
- if the plugin handle was invalid
kOfxStatErrUnknown
- if the type is unknown