IExchExtCallback::GetToolbar

Returns a toolbar window handle.

Quick Info

See IExchExtCallback : IUnknown.

HRESULT GetToolbar(
  ULONG tbid,          
  HWND FAR * lphwndTb  
);
 

Parameters

tbid
[in] Toolbar identifier.
lphwndTb
[out] Pointer to the Microsoft Exchange toolbar window handle.

Return Values

S_OK
The lphWnd parameter returned a non-null HWND.
S_FALSE
The lphWnd parameter returned a null HWND.
E_INVALIDARD
The tbid parameter is not EETB_STANDARD or the lphWnd parameter is NULL.

Remarks

Currently, only the standard toolbar defined by EETB_STANDARD is supported. It is therefore not possible to add toolbar buttons to other toolbars such as the formatting toolbar.

See Also

IExchExtCommands::ResetToolbar