MAKEIPRANGE Macro

Public Function MAKEIPRANGE (ByVal low As Byte, ByVal high As Byte) As Long
	MAKEIPRANGE = low + CLng(high) * &H100
End Function

Description & Usage

MAKEIPADDRESS packs a lower bound and an upper bound for an IP address field into a single 32-bit integer, suitable for use with the IPM_SETRANGE message.

Return Value

The macro returns the lower and upper bounds of the range packed into a single value.

Visual Basic-Specific Issues

None.

Parameters

low
The lower bound of the range.
high
The upper bound of the range.

Back to the Macro list.
Back to the Reference section.


Last Modified: October 29, 2000
This page is copyright © 2000 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/m/makeiprange.html