[edit 06 jan 2013] Actually its more about ObjCreateInterface and interfaces icm with struct If I have in C++ the definition ElementFromPoint hresult([in] tagPOINT ;[out] IUIAutomationElement **) How would this translate to ObjCreateInterface syntax? "ElementFromPoint hresult(struct;ptr*);" and in code using it without getting the pointer $objUIAutomation.ElementFromPoint($tStruct,$pUIElement) ;~ $objUIAutomation.ElementFromPoint(DllStructGetPtr($tStruct),$pUIElement) trying to g