Summary
Sets the value of a property on the specified NPObject
.
Syntax
#include <npruntime.h> bool NPN_SetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, const NPVariant *value);
Parameters
The function has the following parameters:
- <tt>npp</tt>
- The NPP indicating which plugin instance's is making the request.
- <tt>npobj</tt>
- The object on which a value is to be set.
- <tt>propertyName</tt>
- A string identifier indicating the name of the property whose value is to be set.
- <tt>value</tt>
- The value to store in the specified property.
Returns
true
if the value was set successfully, otherwise false
.