IOpenServiceActivityExtension::GetStatusText Method
.gif)
Note: This documentation is preliminary and is subject to change.
Retrieves the status text for the Accelerator.
Syntax
HRESULT GetStatusText( IOpenServiceActivityInput *pInput, BSTR *pbstrStatusText );
Parameters
- pInput
[in] An IOpenServiceActivityInput interface that provides access to the input context and variables.- pbstrStatusText
[out] The received status text.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The status text displays on the status bar in Internet Explorer when the pointer hovers over the Accelerator shortcut menu.
Example
public virtual void GetStatusText(IOpenServiceActivityInput pInput, out string pbstrStatusText) { string temp = "the selected phone number"; if (phoneNumber.ParsedOK) temp = phoneNumber.DialString; pbstrStatusText = String.Format("Call {0} using Microsoft Office Communicator 2007", temp); }