OFFSETOF

3.1

  WORD OFFSETOF(lp)    
  void FAR* lp; /* long pointer, */  

The OFFSETOF macro retrieves the address offset of the specified long pointer.

Parameters

lp

Specifies a long pointer.

Return Value

The return value is the offset address.

Comments

The OFFSETOF macro is defined in WINDOWS.H as follows:

#define OFFSETOF(lp)        LOWORD(lp)

See Also

LOWORD, SELECTOROF