Share via


LB_GETSELITEMS (Windows Embedded CE 6.0)

1/6/2010

This message is sent by an application to fill a buffer with an array of integers that specify the item numbers of selected items in a multiple-selection list box.

Syntax

LB_GETSELITEMS wParam = (WPARAM) cItems; 
    lParam = (LPARAM)(LPINT) lpnItems;

Parameters

  • cItems
    Specifies the maximum number of selected items whose item numbers are to be placed in the buffer.
  • lpnItems
    Long pointer to a buffer large enough for the number of integers specified by the cItems parameter.

Return Value

The return value is the number of items placed in the buffer. If the list box is single-selection, the return value is LB_ERR. This message will also return LB_ERR if you pass invalid parameters for a multi-selection list box.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

List Boxes Messages
LB_GETSELCOUNT