ListView_GetEmptyText macro (commctrl.h)

Gets the text meant for display when the list-view control appears empty. Use this macro or send the LVM_GETEMPTYTEXT message explicitly.

Syntax

void ListView_GetEmptyText(
  [in]       hwnd,
  [in, out]  pszText,
  [in]       cchText
);

Parameters

[in] hwnd

Type: HWND

A handle to the list-view control.

[in, out] pszText

Type: PWSTR

A pointer to a null-terminated, Unicode buffer of size specified by cchText to receive the text. The caller is responsible for allocating the buffer.

[in] cchText

Type: UINT

The size of the buffer pointed to by pszText, including the terminating NULL.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h