
Untitled
By: a guest on
Dec 31st, 2010 | syntax:
C | size: 0.98 KB | hits: 120 | expires: Never
#ifndef _AC_H
#define _AC_H
#include <Windows.h>
#include <WindowsX.h>
#include <tchar.h>
#include <CommCtrl.h>
#pragma comment( lib, "comctl32.lib" )
#pragma comment(linker, "/manifestdependency:\"type='win32' \
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#include "resource.h"
#define MINIMUM_INTERVAL 10
#define DEFAULT_STOPAFTER 0
#define TOGGLE_HOTKEY_TIMER 0
#define SHOW_MOUSE_COORDS 1
#define CLICKING_TIMER 2
#define GET_TARGET_TIMER 3
struct wnd {
struct wnd * next;
HWND hwnd;
};
typedef struct wnd * lpWnd;
lpWnd InitNode( HWND hwnd );
void AddNode( lpWnd headNode, lpWnd newNode );
void DeleteAllNodes( lpWnd current );
lpWnd GetNode( lpWnd current, int nIndex );
bool CompareLinkedLists( lpWnd current1, lpWnd current2 );
INT_PTR CALLBACK WindowEnumProc( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
#endif