|Alerter and Error Reporting|
|Connecting to NetIDMgr from another process|
|typedef khm_int32(KHMAPI *)||khm_ui_callback (HWND hwnd_main_wnd, void *rock)|
|UI callback function. |
|KHMEXP void KHMAPI||khm_get_lib_version (khm_version *libver, khm_ui_4 *apiver)|
|Get the version of the NetIDMgr library. |
|KHMEXP khm_ui_4 KHMAPI||khm_get_commctl_version (khm_version *pdvi)|
|Return the version of Common Control library. |
|KHMEXP khm_int32 KHMAPI||khui_request_UI_callback (khm_ui_callback cb, void *rock)|
|Request a UI callback. |
Return the version of Common Control library.
Can be used to check the version of the Windows Common Control library that is currently loaded. The return value of the function is the packed version value obatained by the macro :
The pdvi parameter is optional. Specify NULL if this is not required.
Get the version of the NetIDMgr library.
|[out]||libver||Receives the version of the library.|
|[out]||apiver||Receives the API version of the library. Optional. Set to NULL if this value is not required.|
Request a UI callback.
In general, plug-ins in Network Identity Manager run in their own thread and will not be able to interact with the user directly by creating windows of its own. There are exceptions to this, such as when the plug-in is responding to a new credentials request or if the plug-in provides configuration panels. However, if a plug-in needs to provide a user interface to the user outside of the provisions already provided by Network Identity Manager, it needs to do so from within the user interface thread.
To do so, a plug-in would provide a callback function of the type khm_ui_callback to this function. The Network Identity Manager will then call the callback function from within the user interface thread. At this point, the callback function can create any windows it wishes to create and interact with the user directly.
The callback function would be called synchronously. khui_request_UI_callback() will not return until the user interface processes the request and calls the callback function. The return code of khui_request_UI_callback() will be the return code of the callback.
|[in]||cb||The callback function which will be called from the user interface thread.|
|[in]||rock||An arbitrary parameter which will be passed into the callback function.|
Generated on Fri Aug 3 08:27:14 2007 for Network Identity Manager by Doxygen 1.5.2
© 2004-2007 Massachusetts Institute of Technology.
© 2005-2007 Secure Endpoints Inc.