khm_int32 KHMAPI handle_kmsg_act(khm_int32 msg_type, khm_int32 msg_subtype, khm_ui_4 uparam, void * vparam) { khm_int32 rv = KHM_ERROR_SUCCESS; if (msg_subtype == KMSG_ACT_ACTIVATE) { khui_request_UI_callback(help_launcher, NULL); } return rv; }
khm_int32 KHMAPI afs_msg_act(khm_int32 msg_subtype, khm_ui_4 uparam, void * vparam) { khm_int32 rv = KHM_ERROR_SUCCESS; if (msg_subtype == KMSG_ACT_ACTIVATE && uparam == (khm_ui_4)action_id_afs_help) { khui_request_UI_callback(help_launcher, NULL); } return rv; }
void kca_icon_set_state(khm_handle credset_with_tokens) { struct state_data d; #if KH_VERSION_API < 7 if (pkhui_request_UI_callback == NULL) return; #endif d.credset = credset_with_tokens; if (notification_icon_added) { set_state_from_ui_thread(NULL, &d); } else { khui_request_UI_callback(set_state_from_ui_thread, &d); } }