Main Page | Class Hierarchy | Class Members | Global Enums and Constants | Global Entry Points | Related Pages

IAccCommandTarget Interface Reference


Detailed Description

The IAccCommandTarget interface is required for plugins that will receive commands.

Public Member Functions


Member Function Documentation

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


Questions? Stop by the AIM SDK Developer Forum
Created Mon Nov 10 09:21:16 2008 for AIM: Developer SDK
© 2008 AOL LLC. All Rights Reserved.