| typedef enum IAccCommand::AccCommandFlags IAccCommand::AccCommandFlags |
Values for AccCommandProp_Flags. If both AccCommandFlags_BuddyUi and AccCommandFlags_GroupUi are set and the UI selection contains both buddies and groups, clients should pass only user names to QueryStatus() and Exec(). Clients should never pass a mix of both user and group names.
| typedef enum IAccCommand::AccCommandProp IAccCommand::AccCommandProp |
Properties for the Property method.
Values for AccCommandProp_Flags. If both AccCommandFlags_BuddyUi and AccCommandFlags_GroupUi are set and the UI selection contains both buddies and groups, clients should pass only user names to QueryStatus() and Exec(). Clients should never pass a mix of both user and group names.
Properties for the Property method.
| HRESULT IAccCommand::Id | ( | [out, retval] xp_int * | id | ) | [get] |
Gets command id.
| HRESULT IAccCommand::Property | ( | [in] AccCommandProp | property, | |
| [out, retval] xp_variant * | value | |||
| ) | [get] |
Gets the specified property for a command.
| HRESULT IAccCommand::Property | ( | [in] AccCommandProp | property, | |
| [in] xp_kvariant | value | |||
| ) | [set] |
Sets the specified property for a command.
| HRESULT IAccCommand::QueryStatus | ( | [in] xp_kvariant | names, | |
| [out, retval] xp_vbool * | enabled | |||
| ) |
Indicates whether this command could be executed on specified users or groups. If an error is returned, or "enabled" is false, the command would not be allowed, so it should be disabled in the user interface. If AccCommandFlags_GroupUi is set, "names" should contain group names; otherwise, it should contain user names.
| HRESULT IAccCommand::Exec | ( | [in] xp_kvariant | names | ) |
Executes the command on the specified users or groups. If AccCommandFlags_GroupUi is set, "names" should contain group names; otherwise, it should contain user names.