IExtendTaskPad::GetTitle method (mmc.h)

The IExtendTaskPad::GetTitle method enables MMC to get the taskpad title text to display in taskpads that use MMC taskpad templates.

Syntax

HRESULT GetTitle(
  [in]  LPOLESTR pszGroup,
  [out] LPOLESTR *pszTitle
);

Parameters

[in] pszGroup

A pointer to a null-terminated string that contains the group name that identifies the taskpad. The group name is the string that follows the hash (#) in the string passed in the ppViewType parameter when MMC calls IComponent::GetResultViewType to display the taskpad. If no group name is specified, pszGroup is a NULL string.

[out] pszTitle

A pointer to the address of a null-terminated string that contains the title for the taskpad specified by pszGroup. This text is displayed at the top of the taskpad as the title for the entire taskpad. If pszTitle points to a NULL string, no title is displayed.

Return value

This method can return one of these values.

Remarks

Allocate the pszTitle string with the COM API function CoTaskMemAlloc (or the equivalent) and MMC will release it.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h

See also

IExtendTaskPad