#ifndef __WINTRACE_H__ #define __WINTRACE_H__ #include "itsutils.h" #define WND_START_TRACE 0 #define WND_STOP_TRACE 1 #define WND_ADD_WINDOW 2 #define WND_DEL_WINDOW 3 #define WND_ADD_PROCESS 4 #define WND_DEL_PROCESS 5 typedef struct _tagTraceWindowParams { DWORD cmd; DWORD hWnd; } TraceWindowParams; typedef struct _tagTraceWindowResult { DWORD x; } TraceWindowResult; #ifdef _WIN32_WCE ITSUTILS_API HRESULT STDAPICALLTYPE ITTraceWindow( DWORD cbInput, TraceWindowParams *pbInput, DWORD *pcbOutput, TraceWindowResult **ppbOutput, IRAPIStream *pStream); #endif // returned through stream typedef struct { DWORD dwSize; DWORD hWnd; DWORD message; DWORD wParam; DWORD lParam; DWORD t0; DWORD t1; DWORD lResult; DWORD tid; } MessageEvent; #endif