| HRESULT IAccCommandTarget::QueryStatus | ( | [in] xp_int | command, | |
| [in] xp_kvariant | names, | |||
| [out, retval] xp_vbool * | enabled | |||
| ) |
Called by the application when it wants to determine whether the plugin can be invoked, given its current internal state and selected users or groups in the buddy list. If AccCommandFlags_GroupUi is set, "names" should contain group names; otherwise, it should contain user names.
| HRESULT IAccCommandTarget::Exec | ( | [in] xp_int | command, | |
| [in] xp_kvariant | names | |||
| ) |
Called when the user invokes the plugin, either by selecting it from a menu, clicking on a button, or other means. If AccCommandFlags_GroupUi is set, "names" should contain group names; otherwise, it should contain user names