[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  nLoWord( nLong )-> <nLoWord>
------------------------------------------------------------------------------


 PARAMETER:

  <nLong> is the numeric DWORD value ( long int, 4 bytes) 



 RETURNS:

  <nLoWord> is the least significant word of <nLong>


 DESCRIPTION:

  A DWORD is made of two words, or 4 bytes: a low word and a high word. This
  function retrieves the low order word, which, for example, is used to
  examine the lParam argument of some windows messages.


 EXAMPLE:

   +-------------------------------------------------------------+
   |    nWidth  = ( x * nLoWord( GetDialogBaseUnits() ) ) / 4    |
   |    nHeight = ( y * nHiWord( GetDialogBaseUnits() ) ) / 8    |
   +-------------------------------------------------------------+


 SOURCE:

  SOURCE\FUNCTION\HILOWORD.C



See Also: nLoByte nHiWord nHiByte nMakeLong
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson