MAKEIPRANGE macro (commctrl.h)

Packs two byte-values into a single LPARAM suitable for use with the IPM_SETRANGE message.

Syntax

LPARAM MAKEIPRANGE(
   BYTE low,
   BYTE high
);

Parameters

low

Type: BYTE

The lower limit of the range.

high

Type: BYTE

The upper limit of the range.

Return value

Type: LPARAM

Returns an LPARAM value that contains the range.

Requirements

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