[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function: make_ptr()
---------
FORCE Prototype:
----------------
PROCEDURE make_ptr
PARAMETERS UINT segment, UINT offset, UNTYPED thing
Description:
------------
make_ptr() is pretty self explanatory. It takes the
address of something, and returns its SEGMENT and OFFSET. I
find this function particularly useful when I'm using the
Interrupt() and Int_w_Flags() functions. They often need a pointer
to a structure or a buffer, so you can use make_ptr() to get
that pointer. See the example code for Interrupt() above for its
usage.
===================================================================
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson