Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
409 B

  1. // stuff for doing auto scrolling
  2. #define NUM_POINTS 3
  3. typedef struct { // asd
  4. int iNextSample;
  5. DWORD dwLastScroll;
  6. BOOL bFull;
  7. POINT pts[NUM_POINTS];
  8. DWORD dwTimes[NUM_POINTS];
  9. } AUTO_SCROLL_DATA;
  10. #define DAD_InitScrollData(pad) (pad)->bFull = FALSE, (pad)->iNextSample = 0, (pad)->dwLastScroll = 0
  11. BOOL DAD_AutoScroll(HWND hwnd, AUTO_SCROLL_DATA *pad, const POINT *pptNow);