CB_GETITEMDATA

3.0

CB_GETITEMDATA
wParam = (WPARAM) index;  /* item index             */
lParam = 0L;              /* not used, must be zero */

An application sends a CB_GETITEMDATA message to a combo box to retrieve the application-supplied doubleword value associated with the specified item in the combo box. (This is the value in the lParam parameter of a CB_SETITEMDATA message.)

Parameters

index

Value of wParam. Specifies the zero-based index of the item.

Return Value

The return value is the doubleword value associated with the item, or it is CB_ERR if an error occurs.

See Also

CB_SETITEMDATA