Code: Select all
//5-15-2003 eqmule
typedef struct _EQWINDOWINFO {
DWORD WindowStyle; //if it is style then 04 = Window 01 = button
DWORD Unknown1;
DWORD Unknown2;
DWORD Unknown3;
DWORD Unknown4;
CHAR WindowTitle[140];
BYTE Unknown5[12];
DWORD pNextAddress; //most likely pointers to another structure...
DWORD pPrevAddress;
} EQWINDOWINFO, *PEQWINDOWINFO; //ok it goes on and there are plenty more to pick up here, but I just need the name for now...
// 5-15-2003 eqmule/Jaerin/Amadeus
typedef struct _EQWINDOW {
/*0x000*/ DWORD WindowID;
/*0x004*/ DWORD WndTime1; //how many ms the window has been open since sessionstart...
/*0x008*/ DWORD Unknown0x008; // 2000 seems a common value
/*0x00c*/ DWORD Unknown0x00c; //500 seems a common value
/*0x010*/ BYTE Flag;
/*0x011*/ BYTE MouseOver; //01 yes 00 no
/*0x012*/ BYTE Unknown0x012;
/*0x013*/ BYTE Unknown0x013;
/*0x014*/ BYTE Unknown0x014[12];
/*0x020*/ struct _EQWINDOW *pNext;
/*0x024*/ struct _EQWINDOW *pPrev;
/*0x028*/ DWORD Flags4;
/*0x02c*/ DWORD Z; //not sure but its logical to assume it at this point...
/*0x030*/ DWORD X;
/*0x034*/ DWORD Y;
/*0x038*/ DWORD Height;
/*0x03c*/ DWORD Width;
DWORD Depth; //hmm maybe...
BYTE Unknown0x040[12];
BYTE Open; //1 open 0 closed
BYTE Unknown0x051[7];
DWORD somekindofID;
DWORD *pUnknownStruct0x060;
struct _EQWINDOWINFO Info;
BYTE Unknown0x068[198];
BYTE WndButton; //01 pressed 00 not pressed
BYTE Unknown0xxxx[3];
BYTE Unknown0xxxxx[180];
DWORD WndTime2; //how many ms the window has been open since sessionstart...
}EQWINDOW, *PEQWINDOW; The idea here is to enumurate the windows, get the titles, compare tham to the argument passed by the user in our functions that could use it... for example click... , if there is an auto <windowtitle> passed to click we wont "dinput" it, we just set
Code: Select all
EQWINDOW->WndButton 01 and EQWINDOW->Open to 01and yeah I know I suck at counting bytes, but at this point its just a working copy which will change alot the next few days.
like playing with our structs? feel free to help filling in the gaps.
Code: Select all
Containers=005E09B8

donations for this month's patches.
