The MASM Forum

Projects => Rarely Used Projects => GoAsm => Topic started by: shankle on April 05, 2013, 03:35:09 AM

Title: scrolling fields
Post by: shankle on April 05, 2013, 03:35:09 AM
Thanks for any help.
How are the scrolling fields referenced in a 64-bit program?
With 32 or 64 bit registers?
Guess it boils down to are these fields 32 bit or 64 bit.

scr.nMax, scr.cbsize, scr.fMask, scr.nMin, scr.nPage
scr.nPos, scr.nTrackPos
Title: Re: scrolling fields
Post by: qWord on April 05, 2013, 09:36:28 AM
Quote from: msdntypedef struct tagSCROLLINFO {
  UINT cbSize;
  UINT fMask;
  int  nMin;
  int  nMax;
  UINT nPage;
  int  nPos;
  int  nTrackPos;
} SCROLLINFO, *LPCSCROLLINFO;
UINT ==> DWORD ==> 32 bits
int ==> SDWORD ==> 32 Bits