Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Loader-Resolved Offset
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   LROFFSET expression
 
  See also: OFFSET, Segment Override (:), SEG,
            MASM 5.1 Compatibility
 
  Description:
 
     Similar to OFFSET, but causes the offset to be resolved by the
     loader at run time. LROFFSET is usually applied to the offset of
     a function pointer. This run-time resolution allows Microsoft
     Windows to relocate code segments in real mode.
 
     The <expression> is any label, variable, or other direct memory
     operand.
 
  Example:
 
     INVOKE     CreateRoutine, LROFFSET MyFunc, 0
                                    -♦-