MAKEIPADDRESS macro (commctrl.h)

Packs four byte-values into a single LPARAM suitable for use with the IPM_SETADDRESS message.

Syntax

LPARAM MAKEIPADDRESS(
   BYTE b1,
   BYTE b2,
   BYTE b3,
   BYTE b4
);

Parameters

b1

Type: BYTE

The field 0 address.

b2

Type: BYTE

The field 1 address.

b3

Type: BYTE

The field 2 address.

b4

Type: BYTE

The field 3 address.

Return value

Type: LPARAM

Returns an LPARAM value that contains the address.

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