PDL_JSRegistrationComplete

Description

Call this after ALL Plug-in handler functions (for JavaScript invocation) have been registered (with RegisterJSHandler). Handler functions serve as interfaces between a JavaScript app and a Plug-in app. See JavaScript and Plug-in Interface for more information.

Until this function is called, none of the handler functions can be referenced. After this function is called, no additional handler functions can be registered.

Syntax

PDL_Err PDL_JSRegistrationComplete(void);

Returns

PDL_ECONNECTION - Could not register JS Handler. Either this is not launched
  as a Plug-in, or the IPC is not yet set up.
PDL_NOERROR - Success.                    

See also:

  • PDL_RegisterJSHandler
  • PDL_GetNumJSParams
  • PDL_GetJSParamDouble
  • PDL_GetJSParamString
  • PDL_GetJSParamInt
  • PDL_JSException
  • PDL_JSReply
  • PDL_CallJS