flat assembler
Message board for the users of flat assembler.

Index > Windows > DWebBrowserEvents2

Author
Thread Post new topic Reply to topic
Everhest



Joined: 26 Jun 2008
Posts: 83
Location: Russia
Everhest 31 Oct 2009, 15:51
Hi, what connect ole interface DWebBrowserEvents2 to IWebBrowser2 and what use events?

Code:
stdcall InterfaceConnect, IID_DWebBrowserEvents2, WebEvnt, lpdwCookie  

proc InterfaceConnect,  IID, Sink, Connection
        mov     [Connection], 0
        cominvk ppw, QueryInterface, IID_IConnectionPointContainer, cpc
        test    eax, eax
        js      @F
        mov     ebx, [cpc]
        comcall ebx, IConnectionPointContainer, FindConnectionPoint, [IID], cp
        test    eax, eax
        js      @F
        mov     ebx, [cp]
        comcall ebx, IConnectionPoint, Advise, [Sink], [Connection]; This is error
        test    eax, eax
        js      @F
        ret
     @@:stdcall OleException, eax
        ret
endp        


Description:
Download
Filename: MEGA.zip
Filesize: 25.89 KB
Downloaded: 229 Time(s)


_________________
Forgive for my bad english, I from russia...
Post 31 Oct 2009, 15:51
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.