Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 31st, 2010  |  syntax: C  |  size: 0.98 KB  |  hits: 120  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #ifndef _AC_H
  2. #define _AC_H
  3.  
  4. #include <Windows.h>
  5. #include <WindowsX.h>
  6. #include <tchar.h>
  7. #include <CommCtrl.h>
  8. #pragma comment( lib, "comctl32.lib" )
  9. #pragma comment(linker, "/manifestdependency:\"type='win32' \
  10.     name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
  11.     processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
  12. #include "resource.h"
  13.  
  14. #define MINIMUM_INTERVAL    10
  15. #define DEFAULT_STOPAFTER   0
  16. #define TOGGLE_HOTKEY_TIMER 0
  17. #define SHOW_MOUSE_COORDS   1
  18. #define CLICKING_TIMER      2
  19. #define GET_TARGET_TIMER    3
  20.  
  21. struct wnd {
  22.   struct wnd * next;
  23.   HWND         hwnd;
  24. };
  25.  
  26. typedef struct wnd * lpWnd;
  27.  
  28. lpWnd InitNode( HWND hwnd );
  29. void AddNode( lpWnd headNode, lpWnd newNode );
  30. void DeleteAllNodes( lpWnd current );
  31. lpWnd GetNode( lpWnd current, int nIndex );
  32. bool CompareLinkedLists( lpWnd current1, lpWnd current2 );
  33.  
  34. INT_PTR CALLBACK WindowEnumProc( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
  35.  
  36. #endif