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.
42 lines
1.0 KiB
42 lines
1.0 KiB
/*************************************************************************
|
|
|
|
Include file for helpthd.cpp
|
|
|
|
defines STACAKBLE_EVENT_INFO structure and GINFO (Global Info) structure
|
|
|
|
*************************************************************************/
|
|
typedef struct STACKABLE_EVENT_INFO *PSTACKABLE_EVENT_INFO;
|
|
|
|
typedef struct STACKABLE_EVENT_INFO {
|
|
|
|
enum Action {NewEvent, EndHelper};
|
|
Action m_Action;
|
|
|
|
DWORD event;
|
|
HWND hwndMsg;
|
|
LONG idObject;
|
|
LONG idChild;
|
|
DWORD idThread;
|
|
DWORD dwmsEventTime;
|
|
|
|
} STACKABLE_EVENT_INFO;
|
|
|
|
|
|
typedef struct GINFO {
|
|
CRITICAL_SECTION HelperCritSect;
|
|
HANDLE hHelperEvent;
|
|
HANDLE hHelperThread;
|
|
CList EventInfoList;
|
|
} GINFO;
|
|
|
|
|
|
//
|
|
// Function Prototypes
|
|
//
|
|
void InitHelperThread();
|
|
void UnInitHelperThread();
|
|
|
|
void AddEventInfoToStack(DWORD event, HWND hwndMsg, LONG idObject, LONG idChild, DWORD idThread, DWORD dwmsEventTime);
|
|
BOOL RemoveInfoFromStack(STACKABLE_EVENT_INFO *pEventInfo);
|
|
|
|
|