Go to the documentation of this file.
121 ret = pApiItem->
msgCB;
123 pApiItem->
msgCB = msgCallback;
132 if (language && language[0]) {
PWU_RTITEM pwpRtItem[]
The runtime array of PWU_RTITEM items.
PWP_UINT32 totalApiCnt
The total # of published and unpublished entries in pwpRtItem[].
PWU_RTITEM * PwuFindTotalAPI(const char api[])
Find any api in pwpRtItem[].
PWP_BOOL PwpInitialize()
Initializes the plugin.
#define ARRAYSIZE(arrname)
Calculates the size of a statically declared array.
The runtime data representing a PWP-API suported by a plugin.
#define PWP_MESSAGECB_DEFAULT
Special API name used to register the default message handler.
PWP_BOOL PwpIsLicensed(const char api[], const PWP_LICENSEDATA *pLicenseData)
Determines if plugin api is licensed for use on this machine.
PWP_VERSIONVAL PwpGetPluginInfo(PWP_PLUGININFO *pInfo)
Get information about this plugin.
PWP_MESSAGECB PwuFindApiMsgCB(const char api[])
Search pwpRtItem[] for an API's messageCB.
PWP_UINT32 publishedApiCnt
The total # of published entries in pwpRtItem[].
const char * PwpEnumAPIs(PWP_UINT32 ndx, PWP_APIINFO *pInfo)
Enumerates the APIs supported by this plugin.
#define PWP_HVALUE_ISVALID(h)
returns non-zero value if handle is valid
PWP_BOOL PwuGetValue(const char group[], const char name[], PWP_HVALUE hVal)
Implementation of the PwpGetValue() API function.
#define VERIFY_EXPLICIT_CAST(from, to)
Helper macro that verifies the sizes of two objects are the same.
PWU_RTITEM * PwuFindPublishedAPI(const char api[])
Find a published api in pwpRtItem[].
Defines Implementation Version Information.
PWP_BOOL PwpActivateAPI(const char api[])
Activates the plugin for a given API spec.
PWP_MESSAGECB PwpGetMessageCallback(const char api[])
Gets the current message callback.
The API information returned by plugins for each supported API.
PWP_VOID PwpSetLanguage(const char language[])
Sets the active language.
PWP_MESSAGECB defCB
assigned default message callback
Static Initialization Data for the PWU_RTITEM Array.
Provides general information about a plugin.
Static Initialization Data for the PWP_PLUGININFO structure.
PWP_BOOL PwpGetValue(const char group[], const char key[], PWP_HVALUE hVal)
Get the value for a grouped key.
PWP_UINT32 PwpGetAPICount()
Get the number of APIs supported by this plugin.
PWP_VOID PwpDestroy()
Called by framework just before plugin library is closed.
PWP_MESSAGECB msgCB
The API's assigned message callback.
PWP_UINT32 PWP_VERSIONVAL
Version data component value.
PWP_MESSAGECB spyCB
assigned spy message callback
PWP_APIINFO apiInfo
The PWP-API instance information.
PWP_UINT32(* PWP_MESSAGECB)(const char api[], PWP_ENUM_MSGID id, void *pMsg)
Message handler callback function signature.
#define VERSION_PWP_MAJOR
The PWP-API major version value.
Data and functions useful to PWP-API compliant plugins.
Pointwise Plugin API (PWP-API)
PWP_MESSAGECB PwpSetMessageCallback(const char api[], PWP_MESSAGECB msgCallback)
Sets the message callback function for the given api.
PWP_UINT32 apiCount
number of APIs implemented by this plugin
Installation's license data. NOT IMPLEMENTED YET.
#define PWP_MESSAGECB_SPY
Special API name used to register the spy message handler.