ARPluginCreateInstance


Description

This function creates a plug-in instance and can also create instance-specific data. This is an optional function. You need not define this function for simple plug-ins because they don't have to create instance-specific data.

The plug-in server uses multiple threads for improved scalability or throughput. A plug-in can use this function and its context object argument to make instance-specific data thread-safe.

Synopsis

#include "arplugin.h"

int ARPluginCreateInstance(
  void **object,
  ARStatusList *status)

Return arguments

object

A pointer to the plug-in instance that this function creates. The other functions have a parameter that points to this object to establish the context for the function. Hence, to be thread-safe, this object must contain all instance-specific data.

status

List of zero or more notes, warnings, or errors generated from a call made to this function.

For a description of all possible values, see Error-checking.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*