Gets information on a specified group. Send this message explicitly or by using the ListView_GetGroupInfoByIndex macro.


wParam [in]

The index of the group.

lParam [in, out]

A pointer to an LVGROUP structure to receive information on the group specified by wParam. The calling process is responsible for allocating memory for the structure and any buffers in the structure, such as the one pointed to by the pszHeader member. Set any contingent members of the structure, such as cchHeader—the size of the buffer pointed to by pszHeader in WCHARs including the terminating NULL. Set cbSize to sizeof(LVGROUP).

The message receiver is responsible for setting the structure members with information for the group specified by wParam.

Return value

Returns TRUE if successful, or FALSE otherwise.


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]