+ ////////////////////////////////////////
+ // type stuff
+ class ParamX // refer to ELEMDESC, IDLDESC in MSDN
+ {
+ public:
+ USHORT flags;
+ bool isPtr, isSafeArray;
+ VARTYPE vt;
+ wxString name;
+
+ inline bool IsIn() const {return (flags & IDLFLAG_FIN) != 0;}
+ inline bool IsOut() const {return (flags & IDLFLAG_FOUT) != 0;}
+ inline bool IsRetVal() const {return (flags & IDLFLAG_FRETVAL) != 0;}
+ };
+
+ typedef vector<ParamX> ParamXArray;
+
+ class FuncX // refer to FUNCDESC in MSDN
+ {
+ public:
+ wxString name;
+ MEMBERID memid;
+ bool hasOut;
+
+ ParamXArray params;
+ };
+
+ typedef vector<FuncX> FuncXArray;
+ typedef map<MEMBERID, int> MemberIdList;
+