Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
Public Function MAKEPOINTS (ByVal lParam As Long) As POINT_TYPE
Description & Usage
The MAKEPOINTS macro converts an (x,y) coordinate pair packed in a single 32-bit integer into the form of a POINT_TYPE structure. The macro separates the values stored in the low and high order words of the packed coordinates and places them into the structure.
Return Value
The macro returns a POINT_TYPE structure holding the unpacked coordinates.
Visual Basic-Specific Issues
None.
Parameters
- lParam
- The packed coordinate pair to extract both coordinates from.
See Also
GET_X_LPARAM, GET_Y_LPARAM
Back to the Macro list. Back to the Reference section.
Last Modified: March 19, 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/makepoints.html