WebKit Interface

Just starting out? Need help? Post your questions and find answers here.
cherri123
User
User
Posts: 32
Joined: Tue Apr 13, 2010 5:39 am

WebKit Interface

Post by cherri123 »

Hi All

I have a code which will be connected to WebKit. But business did not go farther. Some commands of nerabotayut.
Can I that do that not so?

Code: Select all

; Created with OLE/COM Interface generator v0.2  Date: 27/07/2010

; Class: 
; Version: 525.2
; ProgID: ""
; TypeLib: "WebKit.dll"

; ##########################################
; #               Interfaces               #
; ##########################################
; Class WebView;
CompilerIf Defined(IWebView,#PB_Interface) = #False
Interface IWebView
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  canShowMIMEType(mimeType.p-bstr,canShow.l)
  canShowMIMETypeAsHTML(mimeType.p-bstr,canShow.l)
  MIMETypesShownAsHTML(enumVariant.l)
  setMIMETypesShownAsHTML(mimeTypes.l,cMimeTypes.l)
  URLFromPasteboard(pasteboard.l,url.l)
  URLTitleFromPasteboard(pasteboard.l,urlTitle.l)
  initWithFrame(frame.l,frameName.p-bstr,groupName.p-bstr)
  setUIDelegate(d.l)
  uiDelegate(d.l)
  setResourceLoadDelegate(d.l)
  resourceLoadDelegate(d.l)
  setDownloadDelegate(d.l)
  downloadDelegate(d.l)
  setFrameLoadDelegate(d.l)
  frameLoadDelegate(d.l)
  setPolicyDelegate(d.l)
  policyDelegate(d.l)
  mainFrame(frame.l)
  focusedFrame(frame.l)
  backForwardList(List.l)
  setMaintainsBackForwardList(flag.l)
  goBack(succeeded.l)
  goForward(succeeded.l)
  goToBackForwardItem(item.l,succeeded.l)
  setTextSizeMultiplier(multiplier.f)
  textSizeMultiplier(multiplier.l)
  setApplicationNameForUserAgent(applicationName.p-bstr)
  applicationNameForUserAgent(applicationName.l)
  setCustomUserAgent(userAgentString.p-bstr)
  customUserAgent(userAgentString.l)
  userAgentForURL(url.p-bstr,userAgent.l)
  supportsTextEncoding(supports.l)
  setCustomTextEncodingName(encodingName.p-bstr)
  customTextEncodingName(encodingName.l)
  setMediaStyle(media.p-bstr)
  mediaStyle(media.l)
  stringByEvaluatingJavaScriptFromString(script.p-bstr,result.l)
  windowScriptObject(webScriptObject.l)
  setPreferences(prefs.l)
  preferences(prefs.l)
  setPreferencesIdentifier(anIdentifier.p-bstr)
  preferencesIdentifier(anIdentifier.l)
  setHostWindow(window.l)
  hostWindow(window.l)
  searchFor(str.p-bstr,forward.l,caseFlag.l,wrapFlag.l,found.l)
  registerViewClass(view.l,representation.l,forMIMEType.p-bstr)
  setGroupName(groupName.p-bstr)
  groupName(groupName.l)
  estimatedProgress(estimatedProgress.l)
  isLoading(isLoading.l)
  elementAtPoint(point.l,elementDictionary.l)
  pasteboardTypesForSelection(enumVariant.l)
  writeSelectionWithPasteboardTypes(types.l,cTypes.l,pasteboard.l)
  pasteboardTypesForElement(elementDictionary.l,enumVariant.l)
  writeElement(elementDictionary.l,withPasteboardTypes.l,cWithPasteboardTypes.l,pasteboard.l)
  selectedText(text.l)
  centerSelectionInVisibleArea(*sender.IUnknown)
  moveDragCaretToPoint(point.l)
  removeDragCaret()
  setDrawsBackground(drawsBackground.l)
  drawsBackground(drawsBackground.l)
  setMainFrameURL(urlString.p-bstr)
  mainFrameURL(urlString.l)
  mainFrameDocument(document.l)
  mainFrameTitle(title.l)
  mainFrameIcon(hBitmap.l)
  registerURLSchemeAsLocal(scheme.p-bstr)
EndInterface
CompilerEndIf

CompilerIf Defined(IDataObject,#PB_Interface) = #False
Interface IDataObject
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteGetData(pformatetcIn.l,pRemoteMedium.l)
  RemoteGetDataHere(pformatetc.l,pRemoteMedium.l)
  QueryGetData(pformatetc.l)
  GetCanonicalFormatEtc(pformatectIn.l,pformatetcOut.l)
  RemoteSetData(pformatetc.l,pmedium.l,fRelease.l)
  EnumFormatEtc(dwDirection.l,ppenumFormatEtc.l)
  DAdvise(pformatetc.l,advf.l,pAdvSink.l,pdwConnection.l)
  DUnadvise(dwConnection.l)
  EnumDAdvise(ppenumAdvise.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IEnumFORMATETC,#PB_Interface) = #False
Interface IEnumFORMATETC
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteNext(celt.l,rgelt.l,pceltFetched.l)
  Skip(celt.l)
  Reset()
  Clone(ppenum.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IAdviseSink,#PB_Interface) = #False
Interface IAdviseSink
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteOnDataChange(pformatetc.l,pStgmed.l)
  RemoteOnViewChange(dwAspect.l,lindex.l)
  RemoteOnRename(pmk.l)
  RemoteOnSave()
  RemoteOnClose()
EndInterface
CompilerEndIf

CompilerIf Defined(IMoniker,#PB_Interface) = #False
Interface IMoniker
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteBindToObject(pbc.l,pmkToLeft.l,riidResult.l,ppvResult.l)
  RemoteBindToStorage(pbc.l,pmkToLeft.l,riid.l,ppvObj.l)
  Reduce(pbc.l,dwReduceHowFar.l,ppmkToLeft.l,ppmkReduced.l)
  ComposeWith(pmkRight.l,fOnlyIfNotGeneric.l,ppmkComposite.l)
  Enum(fForward.l,ppenumMoniker.l)
  IsEqual(pmkOtherMoniker.l)
  Hash(pdwHash.l)
  IsRunning(pbc.l,pmkToLeft.l,pmkNewlyRunning.l)
  GetTimeOfLastChange(pbc.l,pmkToLeft.l,pfiletime.l)
  Inverse(ppmk.l)
  CommonPrefixWith(pmkOther.l,ppmkPrefix.l)
  RelativePathTo(pmkOther.l,ppmkRelPath.l)
  GetDisplayName(pbc.l,pmkToLeft.l,ppszDisplayName.l)
  ParseDisplayName(pbc.l,pmkToLeft.l,pszDisplayName.p-unicode,pchEaten.l,ppmkOut.l)
  IsSystemMoniker(pdwMksys.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IPersistStream,#PB_Interface) = #False
Interface IPersistStream
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  IsDirty()
  Load(pstm.l)
  Save(pstm.l,fClearDirty.l)
  GetSizeMax(pcbSize.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IPersist,#PB_Interface) = #False
Interface IPersist
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  GetClassID(pClassID.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IStream,#PB_Interface) = #False
Interface IStream
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteSeek(dlibMove.l,dwOrigin.l,plibNewPosition.l)
  SetSize(libNewSize.l)
  RemoteCopyTo(pstm.l,cb.l,pcbRead.l,pcbWritten.l)
  Commit(grfCommitFlags.l)
  Revert()
  LockRegion(libOffset.l,cb.l,dwLockType.l)
  UnlockRegion(libOffset.l,cb.l,dwLockType.l)
  Stat(pstatstg.l,grfStatFlag.l)
  Clone(ppstm.l)
EndInterface
CompilerEndIf

CompilerIf Defined(ISequentialStream,#PB_Interface) = #False
Interface ISequentialStream
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteRead(pv.l,cb.l,pcbRead.l)
  RemoteWrite(pv.l,cb.l,pcbWritten.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IBindCtx,#PB_Interface) = #False
Interface IBindCtx
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RegisterObjectBound(*punk.IUnknown)
  RevokeObjectBound(*punk.IUnknown)
  ReleaseBoundObjects()
  RemoteSetBindOptions(pbindopts.l)
  RemoteGetBindOptions(pbindopts.l)
  GetRunningObjectTable(pprot.l)
  RegisterObjectParam(pszKey.p-unicode,*punk.IUnknown)
  GetObjectParam(pszKey.p-unicode,ppunk.l)
  EnumObjectParam(ppenum.l)
  RevokeObjectParam(pszKey.p-unicode)
EndInterface
CompilerEndIf

CompilerIf Defined(IRunningObjectTable,#PB_Interface) = #False
Interface IRunningObjectTable
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  Register(grfFlags.l,*punkObject.IUnknown,pmkObjectName.l,pdwRegister.l)
  Revoke(dwRegister.l)
  IsRunning(pmkObjectName.l)
  GetObject(pmkObjectName.l,ppunkObject.l)
  NoteChangeTime(dwRegister.l,pfiletime.l)
  GetTimeOfLastChange(pmkObjectName.l,pfiletime.l)
  EnumRunning(ppenumMoniker.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IEnumMoniker,#PB_Interface) = #False
Interface IEnumMoniker
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteNext(celt.l,rgelt.l,pceltFetched.l)
  Skip(celt.l)
  Reset()
  Clone(ppenum.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IEnumString,#PB_Interface) = #False
Interface IEnumString
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteNext(celt.l,rgelt.l,pceltFetched.l)
  Skip(celt.l)
  Reset()
  Clone(ppenum.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IEnumSTATDATA,#PB_Interface) = #False
Interface IEnumSTATDATA
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteNext(celt.l,rgelt.l,pceltFetched.l)
  Skip(celt.l)
  Reset()
  Clone(ppenum.l)
EndInterface
CompilerEndIf
cherri123
User
User
Posts: 32
Joined: Tue Apr 13, 2010 5:39 am

Re: WebKit Interface

Post by cherri123 »

Code: Select all

CompilerIf Defined(IWebUIDelegate,#PB_Interface) = #False
Interface IWebUIDelegate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  createWebViewWithRequest(sender.l,request.l,newWebView.l)
  webViewShow(sender.l)
  webViewClose(sender.l)
  webViewFocus(sender.l)
  webViewUnfocus(sender.l)
  webViewFirstResponder(sender.l,responderHWnd.l)
  makeFirstResponder(sender.l,responderHWnd.l)
  setStatusText(sender.l,text.p-bstr)
  webViewStatusText(sender.l,text.l)
  webViewAreToolbarsVisible(sender.l,visible.l)
  setToolbarsVisible(sender.l,visible.l)
  webViewIsStatusBarVisible(sender.l,visible.l)
  setStatusBarVisible(sender.l,visible.l)
  webViewIsResizable(sender.l,resizable.l)
  setResizable(sender.l,resizable.l)
  setFrame(sender.l,frame.l)
  webViewFrame(sender.l,frame.l)
  setContentRect(sender.l,contentRect.l)
  webViewContentRect(sender.l,contentRect.l)
  runJavaScriptAlertPanelWithMessage(sender.l,message.p-bstr)
  runJavaScriptConfirmPanelWithMessage(sender.l,message.p-bstr,result.l)
  runJavaScriptTextInputPanelWithPrompt(sender.l,message.p-bstr,defaultText.p-bstr,result.l)
  runBeforeUnloadConfirmPanelWithMessage(sender.l,message.p-bstr,initiatedByFrame.l,result.l)
  runOpenPanelForFileButtonWithResultListener(sender.l,resultListener.l)
  mouseDidMoveOverElement(sender.l,elementInformation.l,modifierFlags.l)
  contextMenuItemsForElement(sender.l,element.l,defaultItemsHMenu.l,resultHMenu.l)
  validateUserInterfaceItem(WebView.l,itemCommandID.l,defaultValidation.l,isValid.l)
  shouldPerformAction(WebView.l,itemCommandID.l,sender.l)
  dragDestinationActionMaskForDraggingInfo(WebView.l,draggingInfo.l,action.l)
  willPerformDragDestinationAction(WebView.l,action.l,draggingInfo.l)
  dragSourceActionMaskForPoint(WebView.l,point.l,action.l)
  willPerformDragSourceAction(WebView.l,action.l,point.l,pasteboard.l)
  contextMenuItemSelected(sender.l,item.l,element.l)
  hasCustomMenuImplementation(hasCustomMenus.l)
  trackCustomPopupMenu(sender.l,hMenu.l,point.l)
  measureCustomMenuItem(sender.l,measureItem.l)
  drawCustomMenuItem(sender.l,drawItem.l)
  addCustomMenuDrawingData(sender.l,hMenu.l)
  cleanUpCustomMenuDrawingData(sender.l,hMenu.l)
  canTakeFocus(sender.l,forward.l,result.l)
  takeFocus(sender.l,forward.l)
  registerUndoWithTarget(target.l,actionName.p-bstr,*actionArg.IUnknown)
  removeAllActionsWithTarget(target.l)
  setActionTitle(actionTitle.p-bstr)
  undo()
  redo()
  canUndo(result.l)
  canRedo(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebURLRequest,#PB_Interface) = #False
Interface IWebURLRequest
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  requestWithURL(theURL.p-bstr,cachePolicy.l,timeoutInterval.d)
  allHTTPHeaderFields(result.l)
  cachePolicy(result.l)
  HTTPBody(result.l)
  HTTPBodyStream(result.l)
  HTTPMethod(result.l)
  HTTPShouldHandleCookies(result.l)
  initWithURL(url.p-bstr,cachePolicy.l,timeoutInterval.d)
  mainDocumentURL(result.l)
  timeoutInterval(result.l)
  url(result.l)
  valueForHTTPHeaderField(field.p-bstr,result.l)
  isEmpty(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IPropertyBag,#PB_Interface) = #False
Interface IPropertyBag
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  RemoteRead(pszPropName.p-unicode,pVar.l,pErrorLog.l,varType.l,*pUnkObj.IUnknown)
  Write(pszPropName.p-unicode,pVar.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IErrorLog,#PB_Interface) = #False
Interface IErrorLog
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  AddError(pszPropName.p-unicode,pExcepInfo.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebFrame,#PB_Interface) = #False
Interface IWebFrame
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  name(frameName.l)
  WebView(view.l)
  frameView(view.l)
  DOMDocument(document.l)
  frameElement(frameElement.l)
  loadRequest(request.l)
  loadData(Data_.l,mimeType.p-bstr,textEncodingName.p-bstr,url.p-bstr)
  loadHTMLString(string.p-bstr,baseURL.p-bstr)
  loadAlternateHTMLString(str.p-bstr,baseURL.p-bstr,unreachableURL.p-bstr)
  loadArchive(archive.l)
  dataSource(source.l)
  provisionalDataSource(source.l)
  stopLoading()
  reload()
  findFrameNamed(name.p-bstr,frame.l)
  parentFrame(frame.l)
  childFrames(enumFrames.l)
  currentForm(frameElement.l)
  setAllowsScrolling(flag.l)
  allowsScrolling(flag.l)
  globalContext()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebFrameView,#PB_Interface) = #False
Interface IWebFrameView
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  webFrame(frame.l)
  documentView(view.l)
  setAllowsScrolling(flag.l)
  allowsScrolling(flag.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebDocumentView,#PB_Interface) = #False
Interface IWebDocumentView
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  setDataSource(dataSource.l)
  dataSourceUpdated(dataSource.l)
  setNeedsLayout(flag.l)
  layout()
  viewWillMoveToHostWindow(hwnd.l)
  viewDidMoveToHostWindow()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebDataSource,#PB_Interface) = #False
Interface IWebDataSource
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  initWithRequest(request.l)
  Data(stream.l)
  representation(rep.l)
  webFrame(frame.l)
  initialRequest(request.l)
  request(request.l)
  response(response.l)
  textEncodingName(name.l)
  isLoading(loading.l)
  pageTitle(title.l)
  unreachableURL(url.l)
  webArchive(archive.l)
  mainResource(resource.l)
  subResources(enumResources.l)
  subresourceForURL(url.p-bstr,resource.l)
  addSubresource(subresource.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebDocumentRepresentation,#PB_Interface) = #False
Interface IWebDocumentRepresentation
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  setDataSource(dataSource.l)
  receivedData(Data_.l,dataSource.l)
  receivedError(error.l,dataSource.l)
  finishedLoadingWithDataSource(dataSource.l)
  canProvideDocumentSource(result.l)
  documentSource(source.l)
  title(docTitle.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebError,#PB_Interface) = #False
Interface IWebError
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  init(Domain.p-bstr,code.l,url.p-bstr)
  code(result.l)
  Domain(result.l)
  localizedDescription(result.l)
  localizedFailureReason(result.l)
  localizedRecoveryOptions(enumOptions.l)
  localizedRecoverySuggestion(result.l)
  recoverAttempter(result.l)
  userInfo(result.l)
  failingURL(result.l)
  isPolicyChangeError(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebMutableURLRequest,#PB_Interface) = #False
Interface IWebMutableURLRequest
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  addValue(value.p-bstr,field.p-bstr)
  setAllHTTPHeaderFields(headerFields.l)
  setCachePolicy(policy.l)
  setHTTPBody(Data_.l)
  setHTTPBodyStream(Data_.l)
  setHTTPMethod(method.p-bstr)
  setHTTPShouldHandleCookies(handleCookies.l)
  setMainDocumentURL(theURL.p-bstr)
  setTimeoutInterval(timeoutInterval.d)
  setURL(theURL.p-bstr)
  setValue(value.p-bstr,field.p-bstr)
  setAllowsAnyHTTPSCertificate()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebURLResponse,#PB_Interface) = #False
Interface IWebURLResponse
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  expectedContentLength(result.l)
  initWithURL(url.p-bstr,mimeType.p-bstr,expectedContentLength.l,textEncodingName.p-bstr)
  mimeType(result.l)
  suggestedFilename(result.l)
  textEncodingName(result.l)
  url(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebArchive,#PB_Interface) = #False
Interface IWebArchive
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  initWithMainResource(mainResource.l,subResources.l,cSubResources.l,subFrameArchives.l,cSubFrameArchives.l)
  initWithData(Data_.l)
  mainResource(resource.l)
  subResources(enumResources.l)
  subFrameArchives(enumSubframes.l)
  Data(stream.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebResource,#PB_Interface) = #False
Interface IWebResource
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  initWithData(Data_.l,url.p-bstr,mimeType.p-bstr,textEncodingName.p-bstr,frameName.p-bstr)
  Data(Data_.l)
  url(url.l)
  mimeType(mime.l)
  textEncodingName(encodingName.l)
  frameName(name.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMDocument,#PB_Interface) = #False
Interface IDOMDocument
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  doctype(result.l)
  implementation(result.l)
  documentElement(result.l)
  createElement(tagName.p-bstr,result.l)
  createDocumentFragment(result.l)
  createTextNode(Data_.p-bstr,result.l)
  createComment(Data_.p-bstr,result.l)
  createCDATASection(Data_.p-bstr,result.l)
  createProcessingInstruction(target.p-bstr,Data_.p-bstr,result.l)
  createAttribute(name.p-bstr,result.l)
  createEntityReference(name.p-bstr,result.l)
  getElementsByTagName(tagName.p-bstr,result.l)
  importNode(importedNode.l,deep.l,result.l)
  createElementNS(namespaceURI.p-bstr,qualifiedName.p-bstr,result.l)
  createAttributeNS(namespaceURI.p-bstr,qualifiedName.p-bstr,result.l)
  getElementsByTagNameNS(namespaceURI.p-bstr,localName.p-bstr,result.l)
  getElementById(elementId.p-bstr,result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMNode,#PB_Interface) = #False
Interface IDOMNode
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  nodeName(result.l)
  nodeValue(result.l)
  setNodeValue(value.p-bstr)
  nodeType(result.l)
  parentNode(result.l)
  childNodes(result.l)
  firstChild(result.l)
  lastChild(result.l)
  previousSibling(result.l)
  nextSibling(result.l)
  attributes(result.l)
  ownerDocument(result.l)
  insertBefore(newChild.l,refChild.l,result.l)
  replaceChild(newChild.l,oldChild.l,result.l)
  removeChild(oldChild.l,result.l)
  appendChild(oldChild.l,result.l)
  hasChildNodes(result.l)
  cloneNode(deep.l,result.l)
  normalize()
  isSupported(feature.p-bstr,version.p-bstr,result.l)
  namespaceURI(result.l)
  prefix(result.l)
  setPrefix(prefix.p-bstr)
  localName(result.l)
  hasAttributes(result.l)
  isSameNode(other.l,result.l)
  isEqualNode(other.l,result.l)
  textContent(result.l)
  setTextContent(text.p-bstr)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebScriptObject,#PB_Interface) = #False
Interface IWebScriptObject
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  throwException(exceptionMessage.p-bstr,result.l)
  callWebScriptMethod(name.p-bstr,args.l,cArgs.l,result.l)
  evaluateWebScript(script.p-bstr,result.l)
  removeWebScriptKey(name.p-bstr)
  stringRepresentation(stringRepresentation.l)
  webScriptValueAtIndex(index.l,result.l)
  setWebScriptValueAtIndex(index.l,val.p-variant)
  setException(description.p-bstr)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMNodeList,#PB_Interface) = #False
Interface IDOMNodeList
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  item(index.l,result.l)
  length(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMNamedNodeMap,#PB_Interface) = #False
Interface IDOMNamedNodeMap
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  getNamedItem(name.p-bstr,result.l)
  setNamedItem(arg.l,result.l)
  removeNamedItem(name.p-bstr,result.l)
  item(index.l,result.l)
  length(result.l)
  getNamedItemNS(namespaceURI.p-bstr,localName.p-bstr,result.l)
  setNamedItemNS(arg.l,result.l)
  removeNamedItemNS(namespaceURI.p-bstr,localName.p-bstr,result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMDocumentType,#PB_Interface) = #False
Interface IDOMDocumentType
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  name(result.l)
  entities(result.l)
  notations(result.l)
  publicId(result.l)
  systemId(result.l)
  internalSubset(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMImplementation,#PB_Interface) = #False
Interface IDOMImplementation
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  hasFeature(feature.p-bstr,version.p-bstr,result.l)
  createDocumentType(qualifiedName.p-bstr,publicId.p-bstr,systemId.p-bstr,result.l)
  createDocument(namespaceURI.p-bstr,qualifiedName.p-bstr,doctype.l,result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMElement,#PB_Interface) = #False
Interface IDOMElement
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  tagName(result.l)
  getAttribute(name.p-bstr,result.l)
  setAttribute(name.p-bstr,value.p-bstr)
  removeAttribute(name.p-bstr)
  getAttributeNode(name.p-bstr,result.l)
  setAttributeNode(newAttr.l,result.l)
  removeAttributeNode(oldAttr.l,result.l)
  getElementsByTagName(name.p-bstr,result.l)
  getAttributeNS(namespaceURI.p-bstr,localName.p-bstr,result.l)
  setAttributeNS(namespaceURI.p-bstr,qualifiedName.p-bstr,value.p-bstr)
  removeAttributeNS(namespaceURI.p-bstr,localName.p-bstr)
  getAttributeNodeNS(namespaceURI.p-bstr,localName.p-bstr,result.l)
  setAttributeNodeNS(newAttr.l,result.l)
  getElementsByTagNameNS(namespaceURI.p-bstr,localName.p-bstr,result.l)
  hasAttribute(name.p-bstr,result.l)
  hasAttributeNS(namespaceURI.p-bstr,localName.p-bstr,result.l)
  focus()
  blur()
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMAttr,#PB_Interface) = #False
Interface IDOMAttr
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  name(result.l)
  specified(result.l)
  value(value.l)
  setValue(value.p-bstr)
  ownerElement(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMText,#PB_Interface) = #False
Interface IDOMText
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  splitText(offset.l,result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMCharacterData,#PB_Interface) = #False
Interface IDOMCharacterData
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  Data(result.l)
  setData(Data_.p-bstr)
  length(result.l)
  substringData(offset.l,count.l,result.l)
  appendData(arg.p-bstr)
  insertData(offset.l,arg.p-bstr)
  deleteData(offset.l,count.l)
  replaceData(offset.l,count.l,arg.p-bstr)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMProcessingInstruction,#PB_Interface) = #False
Interface IDOMProcessingInstruction
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  target(result.l)
  Data(result.l)
  setData(Data_.p-bstr)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMHTMLElement,#PB_Interface) = #False
Interface IDOMHTMLElement
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  idName(result.l)
  setIdName(idName.p-bstr)
  title(result.l)
  setTitle(title.p-bstr)
  lang(result.l)
  setLang(lang.p-bstr)
  dir(result.l)
  setDir(dir.p-bstr)
  className(result.l)
  setClassName(className.p-bstr)
  innerHTML(result.l)
  setInnerHTML(html.p-bstr)
  innerText(result.l)
  setInnerText(text.p-bstr)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebOpenPanelResultListener,#PB_Interface) = #False
Interface IWebOpenPanelResultListener
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  chooseFilename(fileName.l)
  cancel()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebUndoTarget,#PB_Interface) = #False
Interface IWebUndoTarget
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  invoke(actionName.p-bstr,*obj.IUnknown)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebResourceLoadDelegate,#PB_Interface) = #False
Interface IWebResourceLoadDelegate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  identifierForInitialRequest(WebView.l,request.l,dataSource.l,identifier.l)
  willSendRequest(WebView.l,identifier.l,request.l,redirectResponse.l,dataSource.l,newRequest.l)
  didReceiveAuthenticationChallenge(WebView.l,identifier.l,challenge.l,dataSource.l)
  didCancelAuthenticationChallenge(WebView.l,identifier.l,challenge.l,dataSource.l)
  didReceiveResponse(WebView.l,identifier.l,response.l,dataSource.l)
  didReceiveContentLength(WebView.l,identifier.l,length.l,dataSource.l)
  didFinishLoadingFromDataSource(WebView.l,identifier.l,dataSource.l)
  didFailLoadingWithError(WebView.l,identifier.l,error.l,dataSource.l)
  plugInFailedWithError(WebView.l,error.l,dataSource.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebURLAuthenticationChallenge,#PB_Interface) = #False
Interface IWebURLAuthenticationChallenge
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  error(result.l)
  failureResponse(result.l)
  initWithAuthenticationChallenge(challenge.l,sender.l)
  initWithProtectionSpace(space.l,proposedCredential.l,previousFailureCount.l,failureResponse.l,error.l,sender.l)
  previousFailureCount(result.l)
  proposedCredential(result.l)
  protectionSpace(result.l)
  sender(sender.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebURLAuthenticationChallengeSender,#PB_Interface) = #False
Interface IWebURLAuthenticationChallengeSender
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  cancelAuthenticationChallenge(challenge.l)
  continueWithoutCredentialForAuthenticationChallenge(challenge.l)
  useCredential(credential.l,challenge.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebURLCredential,#PB_Interface) = #False
Interface IWebURLCredential
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  hasPassword(result.l)
  initWithUser(User.p-bstr,Password.p-bstr,persistence.l)
  Password(Password.l)
  persistence(result.l)
  User(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebURLProtectionSpace,#PB_Interface) = #False
Interface IWebURLProtectionSpace
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  authenticationMethod(result.l)
  host(result.l)
  initWithHost(host.p-bstr,port.l,protocol.p-bstr,realm.p-bstr,authenticationMethod.p-bstr)
  initWithProxyHost(host.p-bstr,port.l,proxyType.p-bstr,realm.p-bstr,authenticationMethod.p-bstr)
  isProxy(result.l)
  port(result.l)
  protocol(result.l)
  proxyType(result.l)
  realm(result.l)
  receivesCredentialSecurely(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebDownloadDelegate,#PB_Interface) = #False
Interface IWebDownloadDelegate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  decideDestinationWithSuggestedFilename(download.l,fileName.p-bstr)
  didCancelAuthenticationChallenge(download.l,challenge.l)
  didCreateDestination(download.l,destination.p-bstr)
  didFailWithError(download.l,error.l)
  didReceiveAuthenticationChallenge(download.l,challenge.l)
  didReceiveDataOfLength(download.l,length.l)
  didReceiveResponse(download.l,response.l)
  shouldDecodeSourceDataOfMIMEType(download.l,encodingType.p-bstr,shouldDecode.l)
  willResumeWithResponse(download.l,response.l,fromByte.q)
  willSendRequest(download.l,request.l,redirectResponse.l,finalRequest.l)
  didBegin(download.l)
  didFinish(download.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebDownload,#PB_Interface) = #False
Interface IWebDownload
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  canResumeDownloadDecodedWithEncodingMIMEType(mimeType.p-bstr,result.l)
  cancel()
  cancelForResume()
  start()
  deletesFileUponFailure(result.l)
  initWithRequest(request.l,delegate.l)
  initToResumeWithBundle(bundlePath.p-bstr,delegate.l)
  bundlePathForTargetPath(target.p-bstr,bundle.l)
  request(request.l)
  setDeletesFileUponFailure(deletesFileUponFailure.l)
  setDestination(path.p-bstr,allowOverwrite.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebFrameLoadDelegate,#PB_Interface) = #False
Interface IWebFrameLoadDelegate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  didStartProvisionalLoadForFrame(WebView.l,frame.l)
  didReceiveServerRedirectForProvisionalLoadForFrame(WebView.l,frame.l)
  didFailProvisionalLoadWithError(WebView.l,error.l,frame.l)
  didCommitLoadForFrame(WebView.l,frame.l)
  didReceiveTitle(WebView.l,title.p-bstr,frame.l)
  didReceiveIcon(WebView.l,hBitmap.l,frame.l)
  didFinishLoadForFrame(WebView.l,frame.l)
  didFailLoadWithError(WebView.l,error.l,forFrame.l)
  didChangeLocationWithinPageForFrame(WebView.l,frame.l)
  willPerformClientRedirectToURL(WebView.l,url.p-bstr,delaySeconds.d,fireDate.d,frame.l)
  didCancelClientRedirectForFrame(WebView.l,frame.l)
  willCloseFrame(WebView.l,frame.l)
  windowScriptObjectAvailable(WebView.l,context.l,windowScriptObject.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebPolicyDelegate,#PB_Interface) = #False
Interface IWebPolicyDelegate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  decidePolicyForNavigationAction(WebView.l,actionInformation.l,request.l,frame.l,listener.l)
  decidePolicyForNewWindowAction(WebView.l,actionInformation.l,request.l,frameName.p-bstr,listener.l)
  decidePolicyForMIMEType(WebView.l,type.p-bstr,request.l,frame.l,listener.l)
  unableToImplementPolicyWithError(WebView.l,error.l,frame.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebPolicyDecisionListener,#PB_Interface) = #False
Interface IWebPolicyDecisionListener
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  use()
  download()
  ignore()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebBackForwardList,#PB_Interface) = #False
Interface IWebBackForwardList
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  addItem(item.l)
  goBack()
  goForward()
  goToItem(item.l)
  backItem(item.l)
  currentItem(item.l)
  forwardItem(item.l)
  backListWithLimit(limit.l,listCount.l,List.l)
  forwardListWithLimit(limit.l,listCount.l,List.l)
  capacity(result.l)
  setCapacity(size.l)
  backListCount(count.l)
  forwardListCount(sizecount.l)
  containsItem(item.l,result.l)
  itemAtIndex(index.l,item.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebHistoryItem,#PB_Interface) = #False
Interface IWebHistoryItem
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  initWithURLString(urlString.p-bstr,title.p-bstr,lastVisited.d)
  originalURLString(url.l)
  urlString(url.l)
  title(pageTitle.l)
  lastVisitedTimeInterval(lastVisited.l)
  setAlternateTitle(title.p-bstr)
  alternateTitle(title.l)
  icon(hBitmap.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebPreferences,#PB_Interface) = #False
Interface IWebPreferences
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  standardPreferences(standardPreferences.l)
  initWithIdentifier(anIdentifier.p-bstr,preferences.l)
  identifier(ident.l)
  standardFontFamily(family.l)
  setStandardFontFamily(family.p-bstr)
  fixedFontFamily(family.l)
  setFixedFontFamily(family.p-bstr)
  serifFontFamily(fontFamily.l)
  setSerifFontFamily(family.p-bstr)
  sansSerifFontFamily(family.l)
  setSansSerifFontFamily(family.p-bstr)
  cursiveFontFamily(family.l)
  setCursiveFontFamily(family.p-bstr)
  fantasyFontFamily(family.l)
  setFantasyFontFamily(family.p-bstr)
  defaultFontSize(fontSize.l)
  setDefaultFontSize(fontSize.l)
  defaultFixedFontSize(fontSize.l)
  setDefaultFixedFontSize(fontSize.l)
  minimumFontSize(fontSize.l)
  setMinimumFontSize(fontSize.l)
  minimumLogicalFontSize(fontSize.l)
  setMinimumLogicalFontSize(fontSize.l)
  defaultTextEncodingName(name.l)
  setDefaultTextEncodingName(name.p-bstr)
  userStyleSheetEnabled(enabled.l)
  setUserStyleSheetEnabled(enabled.l)
  userStyleSheetLocation(location.l)
  setUserStyleSheetLocation(location.p-bstr)
  isJavaEnabled(enabled.l)
  setJavaEnabled(enabled.l)
  isJavaScriptEnabled(enabled.l)
  setJavaScriptEnabled(enabled.l)
  javaScriptCanOpenWindowsAutomatically(enabled.l)
  setJavaScriptCanOpenWindowsAutomatically(enabled.l)
  arePlugInsEnabled(enabled.l)
  setPlugInsEnabled(enabled.l)
  allowsAnimatedImages(enabled.l)
  setAllowsAnimatedImages(enabled.l)
  allowAnimatedImageLooping(enabled.l)
  setAllowAnimatedImageLooping(enabled.l)
  setLoadsImagesAutomatically(enabled.l)
  loadsImagesAutomatically(enabled.l)
  setAutosaves(enabled.l)
  autosaves(enabled.l)
  setShouldPrintBackgrounds(enabled.l)
  shouldPrintBackgrounds(enabled.l)
  setPrivateBrowsingEnabled(enabled.l)
  privateBrowsingEnabled(enabled.l)
  setTabsToLinks(enabled.l)
  tabsToLinks(enabled.l)
  textAreasAreResizable(enabled.l)
  setTextAreasAreResizable(enabled.l)
  unused1()
  unused2()
  iconDatabaseLocation(location.l)
  setIconDatabaseLocation(location.p-bstr)
  iconDatabaseEnabled(enabled.l)
  setIconDatabaseEnabled(enabled.l)
  fontSmoothing(smoothingType.l)
  setFontSmoothing(smoothingType.l)
  editableLinkBehavior(editableLinkBehavior.l)
  setEditableLinkBehavior(behavior.l)
  cookieStorageAcceptPolicy(acceptPolicy.l)
  setCookieStorageAcceptPolicy(acceptPolicy.l)
  continuousSpellCheckingEnabled(enabled.l)
  setContinuousSpellCheckingEnabled(enabled.l)
  grammarCheckingEnabled(enabled.l)
  setGrammarCheckingEnabled(enabled.l)
  allowContinuousSpellChecking(allowed.l)
  setAllowContinuousSpellChecking(allowed.l)
  isDOMPasteAllowed(allowed.l)
  setDOMPasteAllowed(allowed.l)
  usesPageCache(usesPageCache.l)
  setUsesPageCache(usesPageCache.l)
  cacheModel(cacheModel.l)
  setCacheModel(cacheModel.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebIBActions,#PB_Interface) = #False
Interface IWebIBActions
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  takeStringURLFrom(*sender.IUnknown)
  stopLoading(*sender.IUnknown)
  reload(*sender.IUnknown)
  canGoBack(*sender.IUnknown,result.l)
  goBack(*sender.IUnknown)
  canGoForward(*sender.IUnknown,result.l)
  goForward(*sender.IUnknown)
  canMakeTextLarger(*sender.IUnknown,result.l)
  makeTextLarger(*sender.IUnknown)
  canMakeTextSmaller(*sender.IUnknown,result.l)
  makeTextSmaller(*sender.IUnknown)
  canMakeTextStandardSize(*sender.IUnknown,result.l)
  makeTextStandardSize(*sender.IUnknown)
  toggleContinuousSpellChecking(*sender.IUnknown)
  toggleSmartInsertDelete(*sender.IUnknown)
  toggleGrammarChecking(*sender.IUnknown)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebViewCSS,#PB_Interface) = #False
Interface IWebViewCSS
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  computedStyleForElement(element.l,pseudoElement.p-bstr,style.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMCSSStyleDeclaration,#PB_Interface) = #False
Interface IDOMCSSStyleDeclaration
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  cssText(result.l)
  setCssText(cssText.p-bstr)
  getPropertyValue(propertyName.p-bstr,result.l)
  getPropertyCSSValue(propertyName.p-bstr,result.l)
  removeProperty(propertyName.p-bstr,result.l)
  getPropertyPriority(propertyName.p-bstr,result.l)
  setProperty(propertyName.p-bstr,value.p-bstr,priority.p-bstr)
  length(result.l)
  item(index.l,result.l)
  parentRule(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMCSSValue,#PB_Interface) = #False
Interface IDOMCSSValue
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  cssText(text.l)
  setCssText(text.p-bstr)
  cssValueType(valueType.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMCSSRule,#PB_Interface) = #False
Interface IDOMCSSRule
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  type(result.l)
  cssText(text.l)
  setCssText(cssText.p-bstr)
  parentStyleSheet(sheet.l)
  parentRule(rule.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMCSSStyleSheet,#PB_Interface) = #False
Interface IDOMCSSStyleSheet
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  ownerRule(rule.l)
  cssRules(ruleList.l)
  insertRule(rule.p-bstr,index.l,result.l)
  deleteRule(index.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMCSSRuleList,#PB_Interface) = #False
Interface IDOMCSSRuleList
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  length(result.l)
  item(index.l,result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebViewEditing,#PB_Interface) = #False
Interface IWebViewEditing
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  editableDOMRangeForPoint(point.l,range.l)
  setSelectedDOMRange(range.l,affinity.l)
  selectedDOMRange(range.l)
  selectionAffinity(affinity.l)
  setEditable(flag.l)
  isEditable(isEditable.l)
  setTypingStyle(style.l)
  typingStyle(style.l)
  setSmartInsertDeleteEnabled(flag.l)
  smartInsertDeleteEnabled(enabled.l)
  setContinuousSpellCheckingEnabled(flag.l)
  isContinuousSpellCheckingEnabled(enabled.l)
  spellCheckerDocumentTag(tag.l)
  undoManager(manager.l)
  setEditingDelegate(d.l)
  editingDelegate(d.l)
  styleDeclarationWithText(text.p-bstr,style.l)
  hasSelectedRange(hasSelectedRange.l)
  cutEnabled(enabled.l)
  copyEnabled(enabled.l)
  pasteEnabled(enabled.l)
  deleteEnabled(enabled.l)
  editingEnabled(enabled.l)
  isGrammarCheckingEnabled(enabled.l)
  setGrammarCheckingEnabled(enabled.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMRange,#PB_Interface) = #False
Interface IDOMRange
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  startContainer(node.l)
  startOffset(offset.l)
  endContainer(node.l)
  endOffset(offset.l)
  collapsed(result.l)
  commonAncestorContainer(container.l)
  setStart(refNode.l,offset.l)
  setEnd(refNode.l,offset.l)
  setStartBefore(refNode.l)
  setStartAfter(refNode.l)
  setEndBefore(refNode.l)
  setEndAfter(refNode.l)
  collapse(toStart.l)
  selectNode(refNode.l)
  selectNodeContents(refNode.l)
  compareBoundaryPoints(how.l,sourceRange.l)
  deleteContents()
  extractContents(fragment.l)
  cloneContents(fragment.l)
  insertNode(newNode.l)
  surroundContents(newParent.l)
  cloneRange(range.l)
  toString(str.l)
  detach()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebUndoManager,#PB_Interface) = #False
Interface IWebUndoManager
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  beginUndoGrouping()
  canRedo(result.l)
  canUndo(result.l)
  disableUndoRegistration()
  enableUndoRegistration()
  endUndoGrouping()
  forwardInvocation(anInvocation.l)
  groupingLevel(groupingLevel.l)
  groupsByEvent(result.l)
  isRedoing(result.l)
  isUndoing(result.l)
  isUndoRegistrationEnabled(result.l)
  levelsOfUndo(result.l)
  prepareWithInvocationTarget(*target.IUnknown,result.l)
  redo()
  redoActionName(result.l)
  redoMenuItemTitle(result.l)
  redoMenuTitleForUndoActionName(actionName.p-bstr,result.l)
  registerUndoWithTarget(*target.IUnknown,aSelector.l,*anObject.IUnknown)
  removeAllActions()
  removeAllActionsWithTarget(*target.IUnknown)
  runLoopModes(enumModes.l)
  setActionName(actionName.p-bstr)
  setGroupsByEvent(flag.l)
  setLevelsOfUndo(anInt.l)
  setRunLoopModes(cModes.l,modes.l)
  undo()
  undoActionName(result.l)
  undoMenuItemTitle(result.l)
  undoMenuTitleForUndoActionName(actionName.p-bstr,result.l)
  undoNestedGroup()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebInvocation,#PB_Interface) = #False
Interface IWebInvocation
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  invocationWithMethodSignature(signature.l)
  argumentsRetained(result.l)
  getArgument(buffer.l,index.l)
  getReturnValue(buffer.l)
  invoke()
  invokeWithTarget(*anObject.IUnknown)
  methodSignature(result.l)
  retainArguments()
  selector(result.l)
  setArgument(buffer.l,atIndex.l)
  setReturnValue(buffer.l)
  setSelector(selector.l)
  setTarget(*anObject.IUnknown)
  target(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebMethodSignature,#PB_Interface) = #False
Interface IWebMethodSignature
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  frameLength(result.l)
  getArgumentTypeAtIndex(index.l,result.l)
  isOneway(result.l)
  methodReturnLength(result.l)
  methodReturnType(result.l)
  numberOfArguments(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebEditingDelegate,#PB_Interface) = #False
Interface IWebEditingDelegate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  shouldBeginEditingInDOMRange(WebView.l,range.l,result.l)
  shouldEndEditingInDOMRange(WebView.l,range.l,result.l)
  shouldInsertNode(WebView.l,node.l,range.l,action.l)
  shouldInsertText(WebView.l,text.p-bstr,range.l,action.l,result.l)
  shouldDeleteDOMRange(WebView.l,range.l,result.l)
  shouldChangeSelectedDOMRange(WebView.l,currentRange.l,proposedRange.l,selectionAffinity.l,stillSelecting.l,result.l)
  shouldApplyStyle(WebView.l,style.l,range.l,result.l)
  shouldChangeTypingStyle(WebView.l,currentStyle.l,proposedStyle.l,result.l)
  doPlatformCommand(WebView.l,command.p-bstr,result.l)
  webViewDidBeginEditing(notification.l)
  webViewDidChange(notification.l)
  webViewDidEndEditing(notification.l)
  webViewDidChangeTypingStyle(notification.l)
  webViewDidChangeSelection(notification.l)
  undoManagerForWebView(WebView.l,undoManager.l)
  ignoreWordInSpellDocument(view.l,word.p-bstr)
  learnWord(word.p-bstr)
  checkSpellingOfString(view.l,text.p-unicode,length.l,misspellingLocation.l,misspellingLength.l)
  checkGrammarOfString(view.l,text.p-unicode,length.l,grammarDetails.l,badGrammarLocation.l,badGrammarLength.l)
  updateSpellingUIWithGrammarString(string.p-bstr,location.l,length.l,userDescription.p-bstr,guesses.l,guessesCount.l)
  updateSpellingUIWithMisspelledWord(word.p-bstr)
  showSpellingUI(show.l)
  spellingUIIsShowing(result.l)
  guessesForWord(word.p-bstr,guesses.l)
  closeSpellDocument(view.l)
  sharedSpellCheckerExists(exists.l)
  preflightChosenSpellServer()
  updateGrammar()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebNotification,#PB_Interface) = #False
Interface IWebNotification
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  notificationWithName(aName.p-bstr,*anObject.IUnknown,userInfo.l)
  name(result.l)
  GetObject(result.l)
  userInfo(result.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IEnumWebGrammarDetails,#PB_Interface) = #False
Interface IEnumWebGrammarDetails
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  Next(celt.l,detail.l,pceltFetched.l)
  Skip(celt.l)
  Reset()
  Clone(ppenum.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebGrammarDetail,#PB_Interface) = #False
Interface IWebGrammarDetail
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  location(value.l)
  length(value.l)
  userDescription(value.l)
  guesses(guesses.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IEnumSpellingGuesses,#PB_Interface) = #False
Interface IEnumSpellingGuesses
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  Next(celt.l,guess.l,pceltFetched.l)
  Skip(celt.l)
  Reset()
  Clone(ppenum.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebViewUndoableEditing,#PB_Interface) = #False
Interface IWebViewUndoableEditing
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  replaceSelectionWithNode(node.l)
  replaceSelectionWithText(text.p-bstr)
  replaceSelectionWithMarkupString(markupString.p-bstr)
  replaceSelectionWithArchive(archive.l)
  deleteSelection()
  clearSelection()
  applyStyle(style.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebViewEditingActions,#PB_Interface) = #False
Interface IWebViewEditingActions
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  copy(*sender.IUnknown)
  cut(*sender.IUnknown)
  paste(*sender.IUnknown)
  copyURL(url.p-bstr)
  copyFont(*sender.IUnknown)
  pasteFont(*sender.IUnknown)
  delete_(*sender.IUnknown)
  pasteAsPlainText(*sender.IUnknown)
  pasteAsRichText(*sender.IUnknown)
  changeFont(*sender.IUnknown)
  changeAttributes(*sender.IUnknown)
  changeDocumentBackgroundColor(*sender.IUnknown)
  changeColor(*sender.IUnknown)
  alignCenter(*sender.IUnknown)
  alignJustified(*sender.IUnknown)
  alignLeft(*sender.IUnknown)
  alignRight(*sender.IUnknown)
  checkSpelling(*sender.IUnknown)
  showGuessPanel(*sender.IUnknown)
  performFindPanelAction(*sender.IUnknown)
  startSpeaking(*sender.IUnknown)
  stopSpeaking(*sender.IUnknown)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebNotificationObserver,#PB_Interface) = #False
Interface IWebNotificationObserver
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  onNotify(notification.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebViewPrivate,#PB_Interface) = #False
Interface IWebViewPrivate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  setInViewSourceMode(flag.l)
  inViewSourceMode(flag.l)
  viewWindow(window.l)
  setFormDelegate(formDelegate.l)
  formDelegate(formDelegate.l)
  setFrameLoadDelegatePrivate(frameLoadDelegatePrivate.l)
  frameLoadDelegatePrivate(frameLoadDelegatePrivate.l)
  scrollOffset(offset.l)
  scrollBy(offset.l)
  visibleContentRect(rect.l)
  updateFocusedAndActiveState()
  markAllMatchesForText(search.p-bstr,caseSensitive.l,highlight.l,limit.l,matches.l)
  unmarkAllTextMatches()
  rectsForTextMatches(pmatches.l)
  selectionRect(rc.l)
  generateSelectionImage(forceWhiteText.l,hBitmap.l)
  canHandleRequest(request.l,result.l)
  clearFocusNode()
  setTabKeyCyclesThroughElements(cycles.l)
  tabKeyCyclesThroughElements(result.l)
  setAllowSiteSpecificHacks(allows.l)
  addAdditionalPluginPath(path.p-bstr)
  loadBackForwardListFromOtherView(otherView.l)
  setCustomDropTarget(dt.l)
  removeCustomDropTarget()
  setInitialFocus(forward.l)
  inspector(__MIDL_0011.l)
  clearUndoRedoOperations()
  setProhibitsMainFrameScrolling(prohibits.l)
  setShouldApplyMacFontAscentHack(shouldApply.l)
  shouldClose(result.l)
  executeCoreCommandByName(name.p-bstr,value.p-bstr)
  windowAncestryDidChange()
  paintDocumentRectToContext(rect.l,dc.l)
  setDefersCallbacks(defersCallbacks.l)
  defersCallbacks(defersCallbacks.l)
  standardUserAgentWithApplicationName(applicationName.p-bstr,groupName.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebFormDelegate,#PB_Interface) = #False
Interface IWebFormDelegate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  textFieldDidBeginEditing(element.l,frame.l)
  textFieldDidEndEditing(element.l,frame.l)
  textDidChangeInTextField(element.l,frame.l)
  textDidChangeInTextArea(element.l,frame.l)
  doPlatformCommand(element.l,command.p-bstr,frame.l,result.l)
  shouldHandleEvent(element.l,event.l,frame.l,result.l)
  willSubmitForm(frame.l,sourceFrame.l,form.l,values.l,listener.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMHTMLInputElement,#PB_Interface) = #False
Interface IDOMHTMLInputElement
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  defaultValue(result.l)
  setDefaultValue(val.p-bstr)
  defaultChecked(result.l)
  setDefaultChecked(checked.p-bstr)
  form(result.l)
  accept(result.l)
  setAccept(accept.p-bstr)
  accessKey(result.l)
  setAccessKey(key.p-bstr)
  align(result.l)
  setAlign(align.p-bstr)
  alt(result.l)
  setAlt(alt.p-bstr)
  checked(result.l)
  setChecked(checked.l)
  disabled(result.l)
  setDisabled(disabled.l)
  maxLength(result.l)
  setMaxLength(maxLength.l)
  name(name.l)
  setName(name.p-bstr)
  readOnly(result.l)
  setReadOnly(readOnly.l)
  size(result.l)
  SetSize(size.l)
  src(result.l)
  setSrc(src.p-bstr)
  tabIndex(result.l)
  setTabIndex(tabIndex.l)
  type(result.l)
  setType(type.p-bstr)
  useMap(result.l)
  setUseMap(useMap.p-bstr)
  value(result.l)
  setValue(value.p-bstr)
  blur()
  focus()
  Select()
  click()
  setSelectionStart(start.l)
  selectionStart(start.l)
  setSelectionEnd(End.l)
  selectionEnd(End.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDOMHTMLTextAreaElement,#PB_Interface) = #False
Interface IDOMHTMLTextAreaElement
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  defaultValue(result.l)
  setDefaultValue(val.p-bstr)
  form(result.l)
  accessKey(result.l)
  setAccessKey(key.p-bstr)
  cols(result.l)
  setCols(cols.l)
  disabled(result.l)
  setDisabled(disabled.l)
  name(name.l)
  setName(name.p-bstr)
  readOnly(result.l)
  setReadOnly(readOnly.l)
  rows(result.l)
  setRows(rows.l)
  tabIndex(result.l)
  setTabIndex(tabIndex.l)
  type(result.l)
  value(result.l)
  setValue(value.p-bstr)
  blur()
  focus()
  Select()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebFormSubmissionListener,#PB_Interface) = #False
Interface IWebFormSubmissionListener
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  continueSubmit()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebFrameLoadDelegatePrivate,#PB_Interface) = #False
Interface IWebFrameLoadDelegatePrivate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  didFinishDocumentLoadForFrame(sender.l,frame.l)
  didFirstLayoutInFrame(sender.l,frame.l)
  didHandleOnloadEventsForFrame(sender.l,frame.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IEnumTextMatches,#PB_Interface) = #False
Interface IEnumTextMatches
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  Next(celt.l,rect.l,pceltFetched.l)
  Skip(celt.l)
  Reset()
  Clone(ppenum.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IDropTarget,#PB_Interface) = #False
Interface IDropTarget
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  DragEnter(pDataObj.l,grfKeyState.l,pt.l,pdwEffect.l)
  DragOver(grfKeyState.l,pt.l,pdwEffect.l)
  DragLeave()
  Drop(pDataObj.l,grfKeyState.l,pt.l,pdwEffect.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebInspector,#PB_Interface) = #False
Interface IWebInspector
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  show()
  showConsole()
  showTimeline()
  close()
  attach()
  detach()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebIconDatabase,#PB_Interface) = #False
Interface IWebIconDatabase
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  sharedIconDatabase(result.l)
  iconForURL(url.p-bstr,size.l,cache.l,hBitmap.l)
  defaultIconWithSize(size.l,hBitmap.l)
  retainIconForURL(url.p-bstr)
  releaseIconForURL(url.p-bstr)
  removeAllIcons()
  delayDatabaseCleanup()
  allowDatabaseCleanup()
  iconURLForURL(url.p-bstr,iconURL.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebNotificationCenter,#PB_Interface) = #False
Interface IWebNotificationCenter
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  defaultCenter(center.l)
  addObserver(observer.l,notificationName.p-bstr,*anObject.IUnknown)
  postNotification(notification.l)
  postNotificationName(notificationName.p-bstr,*anObject.IUnknown,userInfo.l)
  removeObserver(anObserver.l,notificationName.p-bstr,*anObject.IUnknown)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebHistory,#PB_Interface) = #False
Interface IWebHistory
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  optionalSharedHistory(history.l)
  setOptionalSharedHistory(history.l)
  loadFromURL(url.p-bstr,error.l,succeeded.l)
  saveToURL(url.p-bstr,error.l,succeeded.l)
  addItems(itemCount.l,items.l)
  removeItems(itemCount.l,items.l)
  removeAllItems()
  orderedLastVisitedDays(count.l,calendarDates.l)
  orderedItemsLastVisitedOnDay(count.l,items.l,calendarDate.d)
  itemForURL(url.p-bstr,item.l)
  setHistoryItemLimit(limit.l)
  historyItemLimit(limit.l)
  setHistoryAgeInDaysLimit(limit.l)
  historyAgeInDaysLimit(limit.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebCache,#PB_Interface) = #False
Interface IWebCache
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  statistics(count.l,s.l)
  empty()
  setDisabled(disabled.l)
  disabled(__MIDL_0012.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebJavaScriptCollector,#PB_Interface) = #False
Interface IWebJavaScriptCollector
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  collect()
  collectOnAlternateThread(waitUntilDone.l)
  objectCount(count.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebKitStatistics,#PB_Interface) = #False
Interface IWebKitStatistics
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  webViewCount(count.l)
  frameCount(count.l)
  dataSourceCount(count.l)
  viewCount(count.l)
  HTMLRepresentationCount(count.l)
  comClassCount(classCount.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebScrollBarPrivate,#PB_Interface) = #False
Interface IWebScrollBarPrivate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  init(delegate.l,containingWindow.l,orientation.l,controlSize.l)
  setEnabled(enabled.l)
  setSteps(lineStep.l,pageStep.l)
  setProportion(visibleSize.l,totalSize.l)
  setRect(bounds.l)
  setValue(value.l)
  value(value.l)
  paint(dc.l,damageRect.l)
  frameGeometry(bounds.l)
  width(w.l)
  height(h.l)
  requestedWidth(w.l)
  requestedHeight(h.l)
  handleMouseEvent(hwnd.l,msg.l,wParam.l,lParam.l)
  scroll(direction.l,granularity.l,multiplier.f)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebScrollBarDelegatePrivate,#PB_Interface) = #False
Interface IWebScrollBarDelegatePrivate
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  valueChanged(scrollBar.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebScriptDebugServer,#PB_Interface) = #False
Interface IWebScriptDebugServer
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  sharedWebScriptDebugServer(__MIDL_0017.l)
  addListener(__MIDL_0018.l)
  removeListener(__MIDL_0019.l)
  Step()
  pause()
  resume()
  isPaused(isPaused.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebScriptDebugListener,#PB_Interface) = #False
Interface IWebScriptDebugListener
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  didLoadMainResourceForDataSource(view.l,dataSource.l)
  didParseSource(view.l,sourceCode.p-bstr,baseLineNumber.l,url.p-bstr,sourceID.l,forWebFrame.l)
  failedToParseSource(view.l,sourceCode.p-bstr,baseLineNumber.l,url.p-bstr,error.p-bstr,forWebFrame.l)
  didEnterCallFrame(view.l,frame.l,sourceID.l,lineNumber.l,forWebFrame.l)
  willExecuteStatement(view.l,frame.l,sourceID.l,lineNumber.l,forWebFrame.l)
  willLeaveCallFrame(view.l,frame.l,sourceID.l,lineNumber.l,forWebFrame.l)
  exceptionWasRaised(view.l,frame.l,sourceID.l,lineNumber.l,forWebFrame.l)
  serverDidDie()
EndInterface
CompilerEndIf

CompilerIf Defined(IWebScriptCallFrame,#PB_Interface) = #False
Interface IWebScriptCallFrame
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  caller(__MIDL_0013.l)
  functionName(__MIDL_0014.l)
  stringByEvaluatingJavaScriptFromString(script.p-bstr,__MIDL_0015.l)
  variableNames(__MIDL_0016.l)
  valueForVariable(key.p-bstr,value.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebTextRenderer,#PB_Interface) = #False
Interface IWebTextRenderer
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  registerPrivateFont(fontFilePath.p-unicode)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebDatabaseManager,#PB_Interface) = #False
Interface IWebDatabaseManager
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  sharedWebDatabaseManager(result.l)
  origins(result.l)
  databasesWithOrigin(origin.l,result.l)
  detailsForDatabase(databaseName.p-bstr,origin.l,result.l)
  deleteAllDatabases()
  deleteOrigin(origin.l)
  deleteDatabase(databaseName.p-bstr,origin.l)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebSecurityOrigin,#PB_Interface) = #False
Interface IWebSecurityOrigin
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  protocol(result.l)
  Domain(result.l)
  port(result.l)
  usage(result.l)
  quota(result.l)
  setQuota(quota.q)
EndInterface
CompilerEndIf

CompilerIf Defined(IWebCookieManager,#PB_Interface) = #False
Interface IWebCookieManager
  QueryInterface(riid.l,ppvObj.l)
  AddRef()
  Release()
  cookieStorage(storage.l)
  setCookieStorage(storage.l)
EndInterface
CompilerEndIf

; ##########################################
; #               Structures               #
; ##########################################

CompilerIf Defined(tagFORMATETC,#PB_Structure) = #False
Structure tagFORMATETC
  cfFormat.l
  ptd.l
  dwAspect.l
  lindex.l
  tymed.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userCLIPFORMAT,#PB_Structure) = #False
Structure _userCLIPFORMAT
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagDVTARGETDEVICE,#PB_Structure) = #False
Structure tagDVTARGETDEVICE
  tdSize.l
  tdDriverNameOffset.l
  tdDeviceNameOffset.l
  tdPortNameOffset.l
  tdExtDevmodeOffset.l
  tdData.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userSTGMEDIUM,#PB_Structure) = #False
Structure _userSTGMEDIUM
  __MIDL_0003.l
  *pUnkForRelease.IUnknown
EndStructure
CompilerEndIf

CompilerIf Defined(_STGMEDIUM_UNION,#PB_Structure) = #False
Structure _STGMEDIUM_UNION
  tymed.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHMETAFILEPICT,#PB_Structure) = #False
Structure _userHMETAFILEPICT
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_remoteMETAFILEPICT,#PB_Structure) = #False
Structure _remoteMETAFILEPICT
  mm.l
  xExt.l
  yExt.l
  hMF.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHMETAFILE,#PB_Structure) = #False
Structure _userHMETAFILE
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_BYTE_BLOB,#PB_Structure) = #False
Structure _BYTE_BLOB
  clSize.l
  abData.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHENHMETAFILE,#PB_Structure) = #False
Structure _userHENHMETAFILE
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_GDI_OBJECT,#PB_Structure) = #False
Structure _GDI_OBJECT
  ObjectType.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHBITMAP,#PB_Structure) = #False
Structure _userHBITMAP
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userBITMAP,#PB_Structure) = #False
Structure _userBITMAP
  bmType.l
  bmWidth.l
  bmHeight.l
  bmWidthBytes.l
  bmPlanes.l
  bmBitsPixel.l
  cbSize.l
  pBuffer.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHPALETTE,#PB_Structure) = #False
Structure _userHPALETTE
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagLOGPALETTE,#PB_Structure) = #False
Structure tagLOGPALETTE
  palVersion.l
  palNumEntries.l
  palPalEntry.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagPALETTEENTRY,#PB_Structure) = #False
Structure tagPALETTEENTRY
  peRed.b
  peGreen.b
  peBlue.b
  peFlags.b
EndStructure
CompilerEndIf

CompilerIf Defined(_userHGLOBAL,#PB_Structure) = #False
Structure _userHGLOBAL
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_FLAGGED_BYTE_BLOB,#PB_Structure) = #False
Structure _FLAGGED_BYTE_BLOB
  fFlags.l
  clSize.l
  abData.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userFLAG_STGMEDIUM,#PB_Structure) = #False
Structure _userFLAG_STGMEDIUM
  ContextFlags.l
  fPassOwnership.l
  Stgmed.l
EndStructure
CompilerEndIf

CompilerIf Defined(_LARGE_INTEGER,#PB_Structure) = #False
Structure _LARGE_INTEGER
  QuadPart.q
EndStructure
CompilerEndIf

CompilerIf Defined(_ULARGE_INTEGER,#PB_Structure) = #False
Structure _ULARGE_INTEGER
  QuadPart.q
EndStructure
CompilerEndIf

CompilerIf Defined(tagSTATSTG,#PB_Structure) = #False
Structure tagSTATSTG
  pwcsName.l ; p-unicode
  type.l
  cbSize.l
  mtime.l
  ctime.l
  atime.l
  grfMode.l
  grfLocksSupported.l
  clsid.l
  grfStateBits.l
  reserved.l
EndStructure
CompilerEndIf

CompilerIf Defined(_FILETIME,#PB_Structure) = #False
Structure _FILETIME
  dwLowDateTime.l
  dwHighDateTime.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagBIND_OPTS2,#PB_Structure) = #False
Structure tagBIND_OPTS2
  cbStruct.l
  grfFlags.l
  grfMode.l
  dwTickCountDeadline.l
  dwTrackFlags.l
  dwClassContext.l
  locale.l
  pServerInfo.l
EndStructure
CompilerEndIf

CompilerIf Defined(_COSERVERINFO,#PB_Structure) = #False
Structure _COSERVERINFO
  dwReserved1.l
  pwszName.l ; p-unicode
  pAuthInfo.l
  dwReserved2.l
EndStructure
CompilerEndIf

CompilerIf Defined(_COAUTHINFO,#PB_Structure) = #False
Structure _COAUTHINFO
  dwAuthnSvc.l
  dwAuthzSvc.l
  pwszServerPrincName.l ; p-unicode
  dwAuthnLevel.l
  dwImpersonationLevel.l
  pAuthIdentityData.l
  dwCapabilities.l
EndStructure
CompilerEndIf

CompilerIf Defined(_COAUTHIDENTITY,#PB_Structure) = #False
Structure _COAUTHIDENTITY
  User.l
  UserLength.l
  Domain.l
  DomainLength.l
  Password.l
  PasswordLength.l
  Flags.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagSTATDATA,#PB_Structure) = #False
Structure tagSTATDATA
  formatetc.l
  advf.l
  pAdvSink.l
  dwConnection.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagRECT,#PB_Structure) = #False
Structure tagRECT
  left.l
  top.l
  right.l
  bottom.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagPOINT,#PB_Structure) = #False
Structure tagPOINT
  x.l
  y.l
EndStructure
CompilerEndIf

CompilerIf Defined(_POINTL,#PB_Structure) = #False
Structure _POINTL
  x.l
  y.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagSIZE,#PB_Structure) = #False
Structure tagSIZE
  cx.l
  cy.l
EndStructure
CompilerEndIf

CompilerIf Defined(_RemotableHandle,#PB_Structure) = #False
Structure _RemotableHandle
  fContext.l
  u.l
EndStructure
CompilerEndIf

; ##########################################
; #               Constants                #
; ##########################################

Enumeration ; _WebURLRequestCachePolicy
  #WebURLRequestUseProtocolCachePolicy=0
  #WebURLRequestReloadIgnoringCacheData=1
  #WebURLRequestReturnCacheDataElseLoad=2
  #WebURLRequestReturnCacheDataDontLoad=3
EndEnumeration

Enumeration ; WebDragDestinationAction
  #WebDragDestinationActionNone=0
  #WebDragDestinationActionDHTML=1
  #WebDragDestinationActionEdit=2
  #WebDragDestinationActionLoad=4
  #WebDragDestinationActionAny=-1
EndEnumeration

Enumeration ; WebDragSourceAction
  #WebDragSourceActionNone=0
  #WebDragSourceActionDHTML=1
  #WebDragSourceActionImage=2
  #WebDragSourceActionLink=4
  #WebDragSourceActionSelection=8
  #WebDragSourceActionAny=-1
EndEnumeration

Enumeration ; __MIDL___MIDL_itf_WebKit_0373_0001
  #WebURLCredentialPersistenceNone=0
  #WebURLCredentialPersistenceForSession=1
  #WebURLCredentialPersistencePermanent=2
EndEnumeration

Enumeration ; FontSmoothingType
  #FontSmoothingTypeStandard=0
  #FontSmoothingTypeLight=1
  #FontSmoothingTypeMedium=2
  #FontSmoothingTypeStrong=3
  #FontSmoothingTypeWindows=4
EndEnumeration

Enumeration ; WebKitEditableLinkBehavior
  #WebKitEditableLinkDefaultBehavior=0
  #WebKitEditableLinkAlwaysLive=1
  #WebKitEditableLinkOnlyLiveWithShiftKey=2
  #WebKitEditableLinkLiveWhenNotFocused=3
  #WebKitEditableLinkNeverLive=4
EndEnumeration

Enumeration ; WebKitCookieStorageAcceptPolicy
  #WebKitCookieStorageAcceptPolicyAlways=0
  #WebKitCookieStorageAcceptPolicyNever=1
  #WebKitCookieStorageAcceptPolicyOnlyFromMainDocumentDomain=2
EndEnumeration

Enumeration ; WebCacheModel
  #WebCacheModelDocumentViewer=0
  #WebCacheModelDocumentBrowser=1
  #WebCacheModelPrimaryWebBrowser=2
EndEnumeration

Enumeration ; _WebSelectionAffinity
  #WebSelectionAffinityUpstream=0
  #WebSelectionAffinityDownstream=1
EndEnumeration

Enumeration ; _WebViewInsertAction
  #WebViewInsertActionTyped=0
  #WebViewInsertActionPasted=1
  #WebViewInsertActionDropped=2
EndEnumeration

Enumeration ; WebScrollBarOrientation
  #WebHorizontalScrollbar=0
  #WebVerticalScrollbar=1
EndEnumeration

Enumeration ; WebScrollBarControlSize
  #WebRegularScrollbar=0
  #WebSmallScrollbar=1
  #WebMiniScrollbar=2
EndEnumeration

Enumeration ; WebScrollDirection
  #WebScrollUp=0
  #WebScrollDown=1
  #WebScrollLeft=2
  #WebScrollRight=3
EndEnumeration

Enumeration ; WebScrollGranularity
  #WebScrollByLine=0
  #WebScrollByPage=1
  #WebScrollByDocument=2
  #WebScrollByWheel=3
EndEnumeration
cherri123
User
User
Posts: 32
Joined: Tue Apr 13, 2010 5:39 am

Re: WebKit Interface

Post by cherri123 »

Code: Select all

; ##########################################
; #               Structures               #
; ##########################################

CompilerIf Defined(tagFORMATETC,#PB_Structure) = #False
Structure tagFORMATETC
  cfFormat.l
  ptd.l
  dwAspect.l
  lindex.l
  tymed.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userCLIPFORMAT,#PB_Structure) = #False
Structure _userCLIPFORMAT
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagDVTARGETDEVICE,#PB_Structure) = #False
Structure tagDVTARGETDEVICE
  tdSize.l
  tdDriverNameOffset.l
  tdDeviceNameOffset.l
  tdPortNameOffset.l
  tdExtDevmodeOffset.l
  tdData.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userSTGMEDIUM,#PB_Structure) = #False
Structure _userSTGMEDIUM
  __MIDL_0003.l
  *pUnkForRelease.IUnknown
EndStructure
CompilerEndIf

CompilerIf Defined(_STGMEDIUM_UNION,#PB_Structure) = #False
Structure _STGMEDIUM_UNION
  tymed.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHMETAFILEPICT,#PB_Structure) = #False
Structure _userHMETAFILEPICT
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_remoteMETAFILEPICT,#PB_Structure) = #False
Structure _remoteMETAFILEPICT
  mm.l
  xExt.l
  yExt.l
  hMF.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHMETAFILE,#PB_Structure) = #False
Structure _userHMETAFILE
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_BYTE_BLOB,#PB_Structure) = #False
Structure _BYTE_BLOB
  clSize.l
  abData.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHENHMETAFILE,#PB_Structure) = #False
Structure _userHENHMETAFILE
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_GDI_OBJECT,#PB_Structure) = #False
Structure _GDI_OBJECT
  ObjectType.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHBITMAP,#PB_Structure) = #False
Structure _userHBITMAP
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userBITMAP,#PB_Structure) = #False
Structure _userBITMAP
  bmType.l
  bmWidth.l
  bmHeight.l
  bmWidthBytes.l
  bmPlanes.l
  bmBitsPixel.l
  cbSize.l
  pBuffer.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userHPALETTE,#PB_Structure) = #False
Structure _userHPALETTE
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagLOGPALETTE,#PB_Structure) = #False
Structure tagLOGPALETTE
  palVersion.l
  palNumEntries.l
  palPalEntry.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagPALETTEENTRY,#PB_Structure) = #False
Structure tagPALETTEENTRY
  peRed.b
  peGreen.b
  peBlue.b
  peFlags.b
EndStructure
CompilerEndIf

CompilerIf Defined(_userHGLOBAL,#PB_Structure) = #False
Structure _userHGLOBAL
  fContext.l
  u.l
EndStructure
CompilerEndIf

CompilerIf Defined(_FLAGGED_BYTE_BLOB,#PB_Structure) = #False
Structure _FLAGGED_BYTE_BLOB
  fFlags.l
  clSize.l
  abData.l
EndStructure
CompilerEndIf

CompilerIf Defined(_userFLAG_STGMEDIUM,#PB_Structure) = #False
Structure _userFLAG_STGMEDIUM
  ContextFlags.l
  fPassOwnership.l
  Stgmed.l
EndStructure
CompilerEndIf

CompilerIf Defined(_LARGE_INTEGER,#PB_Structure) = #False
Structure _LARGE_INTEGER
  QuadPart.q
EndStructure
CompilerEndIf

CompilerIf Defined(_ULARGE_INTEGER,#PB_Structure) = #False
Structure _ULARGE_INTEGER
  QuadPart.q
EndStructure
CompilerEndIf

CompilerIf Defined(tagSTATSTG,#PB_Structure) = #False
Structure tagSTATSTG
  pwcsName.l ; p-unicode
  type.l
  cbSize.l
  mtime.l
  ctime.l
  atime.l
  grfMode.l
  grfLocksSupported.l
  clsid.l
  grfStateBits.l
  reserved.l
EndStructure
CompilerEndIf

CompilerIf Defined(_FILETIME,#PB_Structure) = #False
Structure _FILETIME
  dwLowDateTime.l
  dwHighDateTime.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagBIND_OPTS2,#PB_Structure) = #False
Structure tagBIND_OPTS2
  cbStruct.l
  grfFlags.l
  grfMode.l
  dwTickCountDeadline.l
  dwTrackFlags.l
  dwClassContext.l
  locale.l
  pServerInfo.l
EndStructure
CompilerEndIf

CompilerIf Defined(_COSERVERINFO,#PB_Structure) = #False
Structure _COSERVERINFO
  dwReserved1.l
  pwszName.l ; p-unicode
  pAuthInfo.l
  dwReserved2.l
EndStructure
CompilerEndIf

CompilerIf Defined(_COAUTHINFO,#PB_Structure) = #False
Structure _COAUTHINFO
  dwAuthnSvc.l
  dwAuthzSvc.l
  pwszServerPrincName.l ; p-unicode
  dwAuthnLevel.l
  dwImpersonationLevel.l
  pAuthIdentityData.l
  dwCapabilities.l
EndStructure
CompilerEndIf

CompilerIf Defined(_COAUTHIDENTITY,#PB_Structure) = #False
Structure _COAUTHIDENTITY
  User.l
  UserLength.l
  Domain.l
  DomainLength.l
  Password.l
  PasswordLength.l
  Flags.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagSTATDATA,#PB_Structure) = #False
Structure tagSTATDATA
  formatetc.l
  advf.l
  pAdvSink.l
  dwConnection.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagRECT,#PB_Structure) = #False
Structure tagRECT
  left.l
  top.l
  right.l
  bottom.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagPOINT,#PB_Structure) = #False
Structure tagPOINT
  x.l
  y.l
EndStructure
CompilerEndIf

CompilerIf Defined(_POINTL,#PB_Structure) = #False
Structure _POINTL
  x.l
  y.l
EndStructure
CompilerEndIf

CompilerIf Defined(tagSIZE,#PB_Structure) = #False
Structure tagSIZE
  cx.l
  cy.l
EndStructure
CompilerEndIf

CompilerIf Defined(_RemotableHandle,#PB_Structure) = #False
Structure _RemotableHandle
  fContext.l
  u.l
EndStructure
CompilerEndIf

; ##########################################
; #               Constants                #
; ##########################################

Enumeration ; _WebURLRequestCachePolicy
  #WebURLRequestUseProtocolCachePolicy=0
  #WebURLRequestReloadIgnoringCacheData=1
  #WebURLRequestReturnCacheDataElseLoad=2
  #WebURLRequestReturnCacheDataDontLoad=3
EndEnumeration

Enumeration ; WebDragDestinationAction
  #WebDragDestinationActionNone=0
  #WebDragDestinationActionDHTML=1
  #WebDragDestinationActionEdit=2
  #WebDragDestinationActionLoad=4
  #WebDragDestinationActionAny=-1
EndEnumeration

Enumeration ; WebDragSourceAction
  #WebDragSourceActionNone=0
  #WebDragSourceActionDHTML=1
  #WebDragSourceActionImage=2
  #WebDragSourceActionLink=4
  #WebDragSourceActionSelection=8
  #WebDragSourceActionAny=-1
EndEnumeration

Enumeration ; __MIDL___MIDL_itf_WebKit_0373_0001
  #WebURLCredentialPersistenceNone=0
  #WebURLCredentialPersistenceForSession=1
  #WebURLCredentialPersistencePermanent=2
EndEnumeration

Enumeration ; FontSmoothingType
  #FontSmoothingTypeStandard=0
  #FontSmoothingTypeLight=1
  #FontSmoothingTypeMedium=2
  #FontSmoothingTypeStrong=3
  #FontSmoothingTypeWindows=4
EndEnumeration

Enumeration ; WebKitEditableLinkBehavior
  #WebKitEditableLinkDefaultBehavior=0
  #WebKitEditableLinkAlwaysLive=1
  #WebKitEditableLinkOnlyLiveWithShiftKey=2
  #WebKitEditableLinkLiveWhenNotFocused=3
  #WebKitEditableLinkNeverLive=4
EndEnumeration

Enumeration ; WebKitCookieStorageAcceptPolicy
  #WebKitCookieStorageAcceptPolicyAlways=0
  #WebKitCookieStorageAcceptPolicyNever=1
  #WebKitCookieStorageAcceptPolicyOnlyFromMainDocumentDomain=2
EndEnumeration

Enumeration ; WebCacheModel
  #WebCacheModelDocumentViewer=0
  #WebCacheModelDocumentBrowser=1
  #WebCacheModelPrimaryWebBrowser=2
EndEnumeration

Enumeration ; _WebSelectionAffinity
  #WebSelectionAffinityUpstream=0
  #WebSelectionAffinityDownstream=1
EndEnumeration

Enumeration ; _WebViewInsertAction
  #WebViewInsertActionTyped=0
  #WebViewInsertActionPasted=1
  #WebViewInsertActionDropped=2
EndEnumeration

Enumeration ; WebScrollBarOrientation
  #WebHorizontalScrollbar=0
  #WebVerticalScrollbar=1
EndEnumeration

Enumeration ; WebScrollBarControlSize
  #WebRegularScrollbar=0
  #WebSmallScrollbar=1
  #WebMiniScrollbar=2
EndEnumeration

Enumeration ; WebScrollDirection
  #WebScrollUp=0
  #WebScrollDown=1
  #WebScrollLeft=2
  #WebScrollRight=3
EndEnumeration

Enumeration ; WebScrollGranularity
  #WebScrollByLine=0
  #WebScrollByPage=1
  #WebScrollByDocument=2
  #WebScrollByWheel=3
EndEnumeration

; ##########################################
; #                 GUIDs                  #
; ##########################################

DataSection
  CLSID_WEBKIT:  ; {2A748656-625D-4207-B29F-40C95BFEB3A9}
    Data.l $2A748656
    Data.w $625D,$4207
    Data.b $B2,$9F,$40,$C9,$5B,$FE,$B3,$A9
    
;   IID_IWebView:  ;{D6BCA079-F61C-4E1E-B453-32A0477D02E3};  
;     Data.l $D6BCA079
;     Data.w $F61C,$4E1E
;     Data.b $B4,$53,$32,$A0,$47,$7D,$02,$E3  
  IID_IWebView:  ; {174BBEFD-058E-49C7-91DF-6F110AA4AC28}
    Data.l $174BBEFD
    Data.w $58E,$49C7
    Data.b $91,$DF,$6F,$11,$A,$A4,$AC,$28

  IID_IDataObject:  ; {0000010E-0000-0000-C000-000000000046}
    Data.l $10E
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IEnumFORMATETC:  ; {00000103-0000-0000-C000-000000000046}
    Data.l $103
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IAdviseSink:  ; {0000010F-0000-0000-C000-000000000046}
    Data.l $10F
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IMoniker:  ; {0000000F-0000-0000-C000-000000000046}
    Data.l $F
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IPersistStream:  ; {00000109-0000-0000-C000-000000000046}
    Data.l $109
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IPersist:  ; {0000010C-0000-0000-C000-000000000046}
    Data.l $10C
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IStream:  ; {0000000C-0000-0000-C000-000000000046}
    Data.l $C
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_ISequentialStream:  ; {0C733A30-2A1C-11CE-ADE5-00AA0044773D}
    Data.l $C733A30
    Data.w $2A1C,$11CE
    Data.b $AD,$E5,$0,$AA,$0,$44,$77,$3D

  IID_IBindCtx:  ; {0000000E-0000-0000-C000-000000000046}
    Data.l $E
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IRunningObjectTable:  ; {00000010-0000-0000-C000-000000000046}
    Data.l $10
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IEnumMoniker:  ; {00000102-0000-0000-C000-000000000046}
    Data.l $102
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IEnumString:  ; {00000101-0000-0000-C000-000000000046}
    Data.l $101
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IEnumSTATDATA:  ; {00000105-0000-0000-C000-000000000046}
    Data.l $105
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IWebUIDelegate:  ; {2452A889-A74A-4FBC-9617-326A0A953630}
    Data.l $2452A889
    Data.w $A74A,$4FBC
    Data.b $96,$17,$32,$6A,$A,$95,$36,$30

  IID_IWebURLRequest:  ; {F4B85F1D-F3B2-493D-B786-0930E804A3BA}
    Data.l $F4B85F1D
    Data.w $F3B2,$493D
    Data.b $B7,$86,$9,$30,$E8,$4,$A3,$BA

  IID_IPropertyBag:  ; {55272A00-42CB-11CE-8135-00AA004BB851}
    Data.l $55272A00
    Data.w $42CB,$11CE
    Data.b $81,$35,$0,$AA,$0,$4B,$B8,$51

  IID_IErrorLog:  ; {3127CA40-446E-11CE-8135-00AA004BB851}
    Data.l $3127CA40
    Data.w $446E,$11CE
    Data.b $81,$35,$0,$AA,$0,$4B,$B8,$51

  IID_IWebFrame:  ; {B4B22EF7-DD43-4D01-A992-99C4A8B1F845}
    Data.l $B4B22EF7
    Data.w $DD43,$4D01
    Data.b $A9,$92,$99,$C4,$A8,$B1,$F8,$45

  IID_IWebFrameView:  ; {E23E1B15-78F6-4E89-AD2E-49992A040A35}
    Data.l $E23E1B15
    Data.w $78F6,$4E89
    Data.b $AD,$2E,$49,$99,$2A,$4,$A,$35

  IID_IWebDocumentView:  ; {0A6397A7-90FE-49A0-B9C1-44693DD779F7}
    Data.l $A6397A7
    Data.w $90FE,$49A0
    Data.b $B9,$C1,$44,$69,$3D,$D7,$79,$F7

  IID_IWebDataSource:  ; {5221A975-AE09-4A7B-A4DF-E3B1B5F38A21}
    Data.l $5221A975
    Data.w $AE09,$4A7B
    Data.b $A4,$DF,$E3,$B1,$B5,$F3,$8A,$21

  IID_IWebDocumentRepresentation:  ; {3C9F6251-CFD8-447A-B429-6B6AE627436C}
    Data.l $3C9F6251
    Data.w $CFD8,$447A
    Data.b $B4,$29,$6B,$6A,$E6,$27,$43,$6C

  IID_IWebError:  ; {89E3B189-0B60-4D6B-A87A-3F1172CB5538}
    Data.l $89E3B189
    Data.w $B60,$4D6B
    Data.b $A8,$7A,$3F,$11,$72,$CB,$55,$38

  IID_IWebMutableURLRequest:  ; {C4042773-371F-427E-AFA9-9D4B358A0D93}
    Data.l $C4042773
    Data.w $371F,$427E
    Data.b $AF,$A9,$9D,$4B,$35,$8A,$D,$93

  IID_IWebURLResponse:  ; {9814930B-E037-4477-8DF1-4D898B648995}
    Data.l $9814930B
    Data.w $E037,$4477
    Data.b $8D,$F1,$4D,$89,$8B,$64,$89,$95

  IID_IWebArchive:  ; {F07D5252-F66E-4A4D-B9DC-33BD11DCC138}
    Data.l $F07D5252
    Data.w $F66E,$4A4D
    Data.b $B9,$DC,$33,$BD,$11,$DC,$C1,$38

  IID_IWebResource:  ; {09567E0E-7859-494A-B0E4-92C13CFE5574}
    Data.l $9567E0E
    Data.w $7859,$494A
    Data.b $B0,$E4,$92,$C1,$3C,$FE,$55,$74

  IID_IDOMDocument:  ; {A83C2C44-0BAC-45C7-8E17-6A49975D5CCA}
    Data.l $A83C2C44
    Data.w $BAC,$45C7
    Data.b $8E,$17,$6A,$49,$97,$5D,$5C,$CA

  IID_IDOMNode:  ; {3EEA3E20-72DA-4BE7-954F-79B5A14AD726}
    Data.l $3EEA3E20
    Data.w $72DA,$4BE7
    Data.b $95,$4F,$79,$B5,$A1,$4A,$D7,$26

  IID_IWebScriptObject:  ; {7022340A-649C-43FC-9214-85CA7D3BE3C7}
    Data.l $7022340A
    Data.w $649C,$43FC
    Data.b $92,$14,$85,$CA,$7D,$3B,$E3,$C7

  IID_IDOMNodeList:  ; {10A05A96-CBD9-4493-83AD-FAFB952615CE}
    Data.l $10A05A96
    Data.w $CBD9,$4493
    Data.b $83,$AD,$FA,$FB,$95,$26,$15,$CE

  IID_IDOMNamedNodeMap:  ; {E6CBF396-C9F9-431B-A8D6-BCB525067E9F}
    Data.l $E6CBF396
    Data.w $C9F9,$431B
    Data.b $A8,$D6,$BC,$B5,$25,$6,$7E,$9F

  IID_IDOMDocumentType:  ; {17FCE6EA-4164-4BD4-9DBF-0395FBF37FD3}
    Data.l $17FCE6EA
    Data.w $4164,$4BD4
    Data.b $9D,$BF,$3,$95,$FB,$F3,$7F,$D3

  IID_IDOMImplementation:  ; {6E48C25D-E542-4D1A-BC73-ACDC21E39C56}
    Data.l $6E48C25D
    Data.w $E542,$4D1A
    Data.b $BC,$73,$AC,$DC,$21,$E3,$9C,$56

  IID_IDOMElement:  ; {E053A35B-7775-4859-80EA-C35D02D145A2}
    Data.l $E053A35B
    Data.w $7775,$4859
    Data.b $80,$EA,$C3,$5D,$2,$D1,$45,$A2

  IID_IDOMAttr:  ; {B587E098-8206-4B5A-A7DB-422F218571A0}
    Data.l $B587E098
    Data.w $8206,$4B5A
    Data.b $A7,$DB,$42,$2F,$21,$85,$71,$A0

  IID_IDOMText:  ; {74638F45-1AA0-4DB5-958C-82066E00BD2B}
    Data.l $74638F45
    Data.w $1AA0,$4DB5
    Data.b $95,$8C,$82,$6,$6E,$0,$BD,$2B

  IID_IDOMCharacterData:  ; {F4DED047-FE61-461A-BDBD-BB87F79DB713}
    Data.l $F4DED047
    Data.w $FE61,$461A
    Data.b $BD,$BD,$BB,$87,$F7,$9D,$B7,$13

  IID_IDOMProcessingInstruction:  ; {D99D2F48-ABF3-426A-9339-54681E1AFCA9}
    Data.l $D99D2F48
    Data.w $ABF3,$426A
    Data.b $93,$39,$54,$68,$1E,$1A,$FC,$A9

  IID_IDOMHTMLElement:  ; {EBD5F41D-FF65-41D8-97C9-FCE3A3D4CC3E}
    Data.l $EBD5F41D
    Data.w $FF65,$41D8
    Data.b $97,$C9,$FC,$E3,$A3,$D4,$CC,$3E

  IID_IWebOpenPanelResultListener:  ; {634198C7-9DFC-4ABA-9E8C-90AEEA7A4144}
    Data.l $634198C7
    Data.w $9DFC,$4ABA
    Data.b $9E,$8C,$90,$AE,$EA,$7A,$41,$44

  IID_IWebUndoTarget:  ; {BF7F516E-E75D-4E3A-83E2-8F694D83C72D}
    Data.l $BF7F516E
    Data.w $E75D,$4E3A
    Data.b $83,$E2,$8F,$69,$4D,$83,$C7,$2D

  IID_IWebResourceLoadDelegate:  ; {AF3289AA-90DB-4CA4-A112-A1E5F0517953}
    Data.l $AF3289AA
    Data.w $90DB,$4CA4
    Data.b $A1,$12,$A1,$E5,$F0,$51,$79,$53

  IID_IWebURLAuthenticationChallenge:  ; {5382DABA-C3C3-40C5-AA40-04079F11A844}
    Data.l $5382DABA
    Data.w $C3C3,$40C5
    Data.b $AA,$40,$4,$7,$9F,$11,$A8,$44

  IID_IWebURLAuthenticationChallengeSender:  ; {9360D6FB-186C-4FF7-AE57-D1B973DA0D1C}
    Data.l $9360D6FB
    Data.w $186C,$4FF7
    Data.b $AE,$57,$D1,$B9,$73,$DA,$D,$1C

  IID_IWebURLCredential:  ; {A1E9D765-FACE-4189-BBE3-AED7EBF65EBD}
    Data.l $A1E9D765
    Data.w $FACE,$4189
    Data.b $BB,$E3,$AE,$D7,$EB,$F6,$5E,$BD

  IID_IWebURLProtectionSpace:  ; {71D2622A-3FF2-404B-BD45-C60659C901AF}
    Data.l $71D2622A
    Data.w $3FF2,$404B
    Data.b $BD,$45,$C6,$6,$59,$C9,$1,$AF

  IID_IWebDownloadDelegate:  ; {16A32AE6-C862-40CD-9225-2CAF823F40F9}
    Data.l $16A32AE6
    Data.w $C862,$40CD
    Data.b $92,$25,$2C,$AF,$82,$3F,$40,$F9

  IID_IWebDownload:  ; {65EFE83B-A9E4-4516-8F3B-BAA25DA90FFD}
    Data.l $65EFE83B
    Data.w $A9E4,$4516
    Data.b $8F,$3B,$BA,$A2,$5D,$A9,$F,$FD

  IID_IWebFrameLoadDelegate:  ; {4CD809C2-73A5-44EE-B0D7-D1863DFE9F57}
    Data.l $4CD809C2
    Data.w $73A5,$44EE
    Data.b $B0,$D7,$D1,$86,$3D,$FE,$9F,$57

  IID_IWebPolicyDelegate:  ; {9B0BAE6C-A496-4000-9E22-2E89F0747401}
    Data.l $9B0BAE6C
    Data.w $A496,$4000
    Data.b $9E,$22,$2E,$89,$F0,$74,$74,$1

  IID_IWebPolicyDecisionListener:  ; {DFCDE523-FD96-4F95-958B-151540FE122A}
    Data.l $DFCDE523
    Data.w $FD96,$4F95
    Data.b $95,$8B,$15,$15,$40,$FE,$12,$2A

  IID_IWebBackForwardList:  ; {C278A16D-B502-4131-B551-DCE3F4ED2B36}
    Data.l $C278A16D
    Data.w $B502,$4131
    Data.b $B5,$51,$DC,$E3,$F4,$ED,$2B,$36

  IID_IWebHistoryItem:  ; {1E2970AE-72B7-4500-A7A0-12B0FFEB91FC}
    Data.l $1E2970AE
    Data.w $72B7,$4500
    Data.b $A7,$A0,$12,$B0,$FF,$EB,$91,$FC

  IID_IWebPreferences:  ; {0930D594-A5A3-46E1-858E-AB17A13CD28E}
    Data.l $930D594
    Data.w $A5A3,$46E1
    Data.b $85,$8E,$AB,$17,$A1,$3C,$D2,$8E

  IID_IWebIBActions:  ; {8F0E3A30-B924-44F8-990A-1AE61ED6C632}
    Data.l $8F0E3A30
    Data.w $B924,$44F8
    Data.b $99,$A,$1A,$E6,$1E,$D6,$C6,$32

  IID_IWebViewCSS:  ; {ADF68A8C-336F-405C-A053-3D11A9D5B092}
    Data.l $ADF68A8C
    Data.w $336F,$405C
    Data.b $A0,$53,$3D,$11,$A9,$D5,$B0,$92

  IID_IDOMCSSStyleDeclaration:  ; {DBBE9A6B-D505-4647-B4AB-40A7CF3EE63E}
    Data.l $DBBE9A6B
    Data.w $D505,$4647
    Data.b $B4,$AB,$40,$A7,$CF,$3E,$E6,$3E

  IID_IDOMCSSValue:  ; {51D29553-2AF7-4F52-AFE6-3C59196A8BAA}
    Data.l $51D29553
    Data.w $2AF7,$4F52
    Data.b $AF,$E6,$3C,$59,$19,$6A,$8B,$AA

  IID_IDOMCSSRule:  ; {05947A31-9E1C-4C98-8608-6688959D6542}
    Data.l $5947A31
    Data.w $9E1C,$4C98
    Data.b $86,$8,$66,$88,$95,$9D,$65,$42

  IID_IDOMCSSStyleSheet:  ; {14B1C213-1458-48A1-AD8F-54BFE64F9ECF}
    Data.l $14B1C213
    Data.w $1458,$48A1
    Data.b $AD,$8F,$54,$BF,$E6,$4F,$9E,$CF

  IID_IDOMCSSRuleList:  ; {D45DA43D-5EDB-4315-A097-3ED3FA089193}
    Data.l $D45DA43D
    Data.w $5EDB,$4315
    Data.b $A0,$97,$3E,$D3,$FA,$8,$91,$93

  IID_IWebViewEditing:  ; {07BDAC9A-19A1-4086-864D-BAD9E0F00D5C}
    Data.l $7BDAC9A
    Data.w $19A1,$4086
    Data.b $86,$4D,$BA,$D9,$E0,$F0,$D,$5C

  IID_IDOMRange:  ; {2F33E42C-0B39-48B3-B7B6-E910CDB325AD}
    Data.l $2F33E42C
    Data.w $B39,$48B3
    Data.b $B7,$B6,$E9,$10,$CD,$B3,$25,$AD

  IID_IWebUndoManager:  ; {D25D748C-6C1E-478D-9832-FDA26E8F7EE4}
    Data.l $D25D748C
    Data.w $6C1E,$478D
    Data.b $98,$32,$FD,$A2,$6E,$8F,$7E,$E4

  IID_IWebInvocation:  ; {67B067BE-4DE6-45C2-AD39-A91DFA84FF4E}
    Data.l $67B067BE
    Data.w $4DE6,$45C2
    Data.b $AD,$39,$A9,$1D,$FA,$84,$FF,$4E

  IID_IWebMethodSignature:  ; {431DD6B2-56BF-4F48-943B-78CCEAC418E4}
    Data.l $431DD6B2
    Data.w $56BF,$4F48
    Data.b $94,$3B,$78,$CC,$EA,$C4,$18,$E4

  IID_IWebEditingDelegate:  ; {2C75A1E3-EE9D-45C8-A385-19DE68AC5675}
    Data.l $2C75A1E3
    Data.w $EE9D,$45C8
    Data.b $A3,$85,$19,$DE,$68,$AC,$56,$75

  IID_IWebNotification:  ; {93598207-3E34-49EC-97EC-EFA9A1E16335}
    Data.l $93598207
    Data.w $3E34,$49EC
    Data.b $97,$EC,$EF,$A9,$A1,$E1,$63,$35

  IID_IEnumWebGrammarDetails:  ; {FABCC69A-5917-4242-A19A-42E8B62227A7}
    Data.l $FABCC69A
    Data.w $5917,$4242
    Data.b $A1,$9A,$42,$E8,$B6,$22,$27,$A7

  IID_IWebGrammarDetail:  ; {8B95C1B3-E1B3-4F97-80D6-2240417E3E0C}
    Data.l $8B95C1B3
    Data.w $E1B3,$4F97
    Data.b $80,$D6,$22,$40,$41,$7E,$3E,$C

  IID_IEnumSpellingGuesses:  ; {B0F960E7-FB81-447F-A958-E02DA02ADBB7}
    Data.l $B0F960E7
    Data.w $FB81,$447F
    Data.b $A9,$58,$E0,$2D,$A0,$2A,$DB,$B7

  IID_IWebViewUndoableEditing:  ; {639E7121-13C8-4A12-BC18-6E1F3D68F3C3}
    Data.l $639E7121
    Data.w $13C8,$4A12
    Data.b $BC,$18,$6E,$1F,$3D,$68,$F3,$C3

  IID_IWebViewEditingActions:  ; {7E066C42-8E81-4778-888D-D6CC93E27D4C}
    Data.l $7E066C42
    Data.w $8E81,$4778
    Data.b $88,$8D,$D6,$CC,$93,$E2,$7D,$4C

  IID_IWebNotificationObserver:  ; {1BA491C4-58A7-4091-9F56-9AED118DB4C1}
    Data.l $1BA491C4
    Data.w $58A7,$4091
    Data.b $9F,$56,$9A,$ED,$11,$8D,$B4,$C1

  IID_IWebViewPrivate:  ; {44914369-DEB5-4FCF-A6A3-30C02E73154F}
    Data.l $44914369
    Data.w $DEB5,$4FCF
    Data.b $A6,$A3,$30,$C0,$2E,$73,$15,$4F

  IID_IWebFormDelegate:  ; {4CBEC1BD-ABC3-4BDB-8E5E-4D3BCF9E8C1E}
    Data.l $4CBEC1BD
    Data.w $ABC3,$4BDB
    Data.b $8E,$5E,$4D,$3B,$CF,$9E,$8C,$1E

  IID_IDOMHTMLInputElement:  ; {80C40AC5-1755-4894-812F-479269C262A2}
    Data.l $80C40AC5
    Data.w $1755,$4894
    Data.b $81,$2F,$47,$92,$69,$C2,$62,$A2

  IID_IDOMHTMLTextAreaElement:  ; {298B02B7-3EB5-4BA4-AD3F-7FA53241AADE}
    Data.l $298B02B7
    Data.w $3EB5,$4BA4
    Data.b $AD,$3F,$7F,$A5,$32,$41,$AA,$DE

  IID_IWebFormSubmissionListener:  ; {1911D650-035E-4204-8746-ABECF77A4C9B}
    Data.l $1911D650
    Data.w $35E,$4204
    Data.b $87,$46,$AB,$EC,$F7,$7A,$4C,$9B

  IID_IWebFrameLoadDelegatePrivate:  ; {32DC2531-948D-400E-A82F-FE6668B61A0B}
    Data.l $32DC2531
    Data.w $948D,$400E
    Data.b $A8,$2F,$FE,$66,$68,$B6,$1A,$B

  IID_IEnumTextMatches:  ; {C0CDE63A-5ED1-453F-B937-93B1A61AD3B3}
    Data.l $C0CDE63A
    Data.w $5ED1,$453F
    Data.b $B9,$37,$93,$B1,$A6,$1A,$D3,$B3

  IID_IDropTarget:  ; {00000122-0000-0000-C000-000000000046}
    Data.l $122
    Data.w $0,$0
    Data.b $C0,$0,$0,$0,$0,$0,$0,$46

  IID_IWebInspector:  ; {68159FF1-9037-45EC-9992-B2E455CF39F3}
    Data.l $68159FF1
    Data.w $9037,$45EC
    Data.b $99,$92,$B2,$E4,$55,$CF,$39,$F3

  IID_IWebIconDatabase:  ; {E93F2616-2560-47D9-BD4D-6E2F1E1D3174}
    Data.l $E93F2616
    Data.w $2560,$47D9
    Data.b $BD,$4D,$6E,$2F,$1E,$1D,$31,$74

  IID_IWebNotificationCenter:  ; {1E411ABE-DAA0-4A83-BCCA-D94E0704F193}
    Data.l $1E411ABE
    Data.w $DAA0,$4A83
    Data.b $BC,$CA,$D9,$4E,$7,$4,$F1,$93

  IID_IWebHistory:  ; {F34E4B1A-361D-4B9F-9A3F-D869DCD97F9A}
    Data.l $F34E4B1A
    Data.w $361D,$4B9F
    Data.b $9A,$3F,$D8,$69,$DC,$D9,$7F,$9A

  IID_IWebCache:  ; {0673E6F5-AE63-4871-AAC6-6A1E0E6A99AB}
    Data.l $673E6F5
    Data.w $AE63,$4871
    Data.b $AA,$C6,$6A,$1E,$E,$6A,$99,$AB

  IID_IWebJavaScriptCollector:  ; {E6A1D169-F44A-4D11-B55B-F0A406F47612}
    Data.l $E6A1D169
    Data.w $F44A,$4D11
    Data.b $B5,$5B,$F0,$A4,$6,$F4,$76,$12

  IID_IWebKitStatistics:  ; {955C1042-BCF7-4F51-8AE7-66C2D0D47C44}
    Data.l $955C1042
    Data.w $BCF7,$4F51
    Data.b $8A,$E7,$66,$C2,$D0,$D4,$7C,$44

  IID_IWebScrollBarPrivate:  ; {6C585B08-2E4F-4594-9B90-0425E3A33FD0}
    Data.l $6C585B08
    Data.w $2E4F,$4594
    Data.b $9B,$90,$4,$25,$E3,$A3,$3F,$D0

  IID_IWebScrollBarDelegatePrivate:  ; {2E8D56AF-3BF5-4E17-BDA6-01692ACBE3D5}
    Data.l $2E8D56AF
    Data.w $3BF5,$4E17
    Data.b $BD,$A6,$1,$69,$2A,$CB,$E3,$D5

  IID_IWebScriptDebugServer:  ; {E24111D6-3668-4C8B-B921-D644524945F8}
    Data.l $E24111D6
    Data.w $3668,$4C8B
    Data.b $B9,$21,$D6,$44,$52,$49,$45,$F8

  IID_IWebScriptDebugListener:  ; {09612B56-BE17-4867-A441-1C5C4E0F5302}
    Data.l $9612B56
    Data.w $BE17,$4867
    Data.b $A4,$41,$1C,$5C,$4E,$F,$53,$2

  IID_IWebScriptCallFrame:  ; {029D0676-162A-4140-8917-9574E09F66EB}
    Data.l $29D0676
    Data.w $162A,$4140
    Data.b $89,$17,$95,$74,$E0,$9F,$66,$EB

  IID_IWebTextRenderer:  ; {5B26ABBB-C27A-4527-A313-CB733E2CD257}
    Data.l $5B26ABBB
    Data.w $C27A,$4527
    Data.b $A3,$13,$CB,$73,$3E,$2C,$D2,$57

  IID_IWebDatabaseManager:  ; {5724F010-A77B-4A42-8F89-A5095B61D469}
    Data.l $5724F010
    Data.w $A77B,$4A42
    Data.b $8F,$89,$A5,$9,$5B,$61,$D4,$69

  IID_IWebSecurityOrigin:  ; {304D4462-A921-4E85-BC11-BCE1462B159D}
    Data.l $304D4462
    Data.w $A921,$4E85
    Data.b $BC,$11,$BC,$E1,$46,$2B,$15,$9D

  IID_IWebCookieManager:  ; {7053FE94-3623-444F-A298-209A90879A8C}
    Data.l $7053FE94
    Data.w $3623,$444F
    Data.b $A2,$98,$20,$9A,$90,$87,$9A,$8C
EndDataSection

Prototype AtlAxWinInit()
Prototype AtlAxCreateControl(a.p-bstr,b.l,c.l,d.l)
Prototype AtlAxGetControl(a.l,b.l)

Prototype setUseOpenSourcwWebKit()

If OpenLibrary(0,"atl.dll")
  AtlAxWinInit.AtlAxWinInit             = GetFunction(0, "AtlAxWinInit")
  AtlAxCreateControl.AtlAxCreateControl = GetFunction(0, "AtlAxCreateControl")
  AtlAxGetControl.AtlAxGetControl       = GetFunction(0, "AtlAxGetControl")
Else
  MessageRequester("Error", "OpenLibrary() failed.")
  End
EndIf


CoInitialize_(0) 
AtlAxWinInit() 

If OpenWindow(0,30, 109, 1100, 730, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered | #PB_Window_TitleBar)

    EditorGadget(1, 10, 510, 670, 150)
    ButtonGadget(2,680,510,40,150,"enter")
    ContainerGadget(0, 10, 10, 700, 470,#PB_Container_Double)
    CloseGadgetList()
     
     rez=AtlAxCreateControl("WEBKIT.WebView", GadgetID(0), 0, @Container.IUnknown)
     rez2=AtlAxGetControl(GadgetID(0),@*pp.IWebView)
     ;  AtlAxCreateControl("DHTMLEditEvents.DHTMLEditEvents", GadgetID(0), 0, @Container.IUnknown)
    Debug rez
    Debug rez2
    
    k=*pp\initWithFrame(0,"","")
    Debug "initWithFrame "+Str(k)
    
    k=*pp\setCustomUserAgent("111")
    Debug k
    k=*pp\setApplicationNameForUserAgent("111")
    Debug k
    
    k=*pp\mainFrame(0)
    Debug k
    
    
    k=*pp\setMainFrameURL("http://www.digg.com")
    Debug k

EndIf 
  
Repeat 
   event = WaitWindowEvent() 
    
  Until event = #PB_Event_CloseWindow 
*pp\Release()
CoUninitialize_()
End
Nero
New User
New User
Posts: 8
Joined: Sat Apr 23, 2011 6:17 pm

Re: WebKit Interface

Post by Nero »

Hi,

I just tested it and it worked so far.
But i get a "Invalid memory access" error from some functions.
(setCustomUserAgent(), setApplicationNameForUserAgent(), mainFrame() and setMainFrameURL() )
Post Reply