IHTMLElementCollection_FIXED
Publié : ven. 29/févr./2008 22:01
Freak à corriger une interface pour qu'elle puisse fonctionner avec PureBasic.
J'aimerais bien comprendre les modifs apportés, varIndex\split[0] ne correspond pas à un variant alors pourquoi ça marche?
J'aimerais bien comprendre les modifs apportés, varIndex\split[0] ne correspond pas à un variant alors pourquoi ça marche?
Code : Tout sélectionner
Structure VARIANT_SPLIT
StructureUnion
Variant.VARIANT
Split.l[4]
EndStructureUnion
EndStructure
Interface IHTMLElementCollection_FIXED
QueryInterface(a,b)
AddRef()
Release()
GetTypeInfoCount(a)
GetTypeInfo(a,b,c)
GetIDsOfNames(a,b,c,d,e)
Invoke(a,b,c,d,e,f,g,h)
toString(a)
put_length(a)
get_length(a)
get__newEnum(a)
item(a1,a2,a3,a4,b1,b2,b3,b4,c);(a,b,c)
tags(a,b)
EndInterface
varIndex.VARIANT_SPLIT\Variant\vt = #VT_I4
varIndex\Variant\lVal = 0
If *pElemColl\item(varIndex\split[0], varIndex\split[1], varIndex\split[2], varIndex\split[3], varIndex\split[0], varIndex\split[1], varIndex\split[2], varIndex\split[3], @*pElemDisp.IDispatch)=#S_OK