Files
Oogynize/Hooks/ButtonHook/HookWndItem.h

20 lines
606 B
C

// HookWndItem.h
#pragma once
extern class CaptionButton;
//////////////////////////////////////////////////////////////////////
// Strc: HookWndItem
// Desc: Hook Item is used in the HookedWndList. Each HookWndItem keeps track
// of all the addresses needed for each hook for each Windows,
// as well as each Window's ButtonState.
//
// Note: Add State Items for a Window as neccessary
//////////////////////////////////////////////////////////////////////
struct HookWndItem
{
HWND hWnd;
WNDPROC HookWndProc;
WNDPROC DefWndProc;
ButtonState state;
CaptionButton* button;
};