Re: Windows Events & Notification Hooks



Thanks Mr. Venugopalan,

Following your advise I read the MSDN but couldn't figure out if it usefuul
for me. I'll elaborate a little about the environment.

I debug with my debugger application a second application which I don't have
its source. I know that it uses the api CreateEvent and then it calls the
multimedia function waveInOpen using CALLBACK_EVENT.
Whenever there is a ready buffer, Windows notifies the application using
this evet notification.

I want to hook this event in my debugger application.

Regards

Sam

"Dinesh" <venugopalandinesh@xxxxxxxxx> wrote in message
news:1132223549.132811.144870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> Maybe the API you are looking at is SetWinEventHook().
>
> Regards.
> Dinesh Venugopalan
>
> Sam wrote:
> > I use Windows messages hooks for debuging my applications. Now I need to
> > hook Windows Events and their notification.
> >
> > Does anyone knows how to do it?
> >
> > Any refernce will be greate
> >
> > Sam
>


.



Relevant Pages

  • Re: Detect Application Launch
    ... > do it more elegantly via a hook if such a method were available. ... 'Register this form with Windows to receive the ShellHook message ... Private Declare Function RegisterShellHookWindow Lib "user32" (ByVal hwnd As ...
    (microsoft.public.vb.winapi)
  • Re: SAMR Interface Calls and Active Directory
    ... SAM has been referred to as SAM DB. ... generate SAMR calls on windows 2000 and above machines. ... Author of O'Reilly Active Directory Third Edition ...
    (microsoft.public.windows.server.security)
  • Re: Restoring Trusts between client workstations and Domain Contro
    ... > businesses have limited financial resources and who thought Windows could ... >>> the server without the benefit of recent backup of SAM and SID's. ... >>> go about restoring communication between the client workstations (they ...
    (microsoft.public.windows.server.general)
  • Re: Restoring Trusts between client workstations and Domain Contro
    ... copying and pasting a backup of their "Windows Special Folder"? ... >> the server without the benefit of recent backup of SAM and SID's. ... >> go about restoring communication between the client workstations (they ...
    (microsoft.public.windows.server.general)
  • Re: Hooks
    ... Now I have set the hook I am getting those messages. ... Gary Chanson (Windows SDK MVP) ... Is that thread id is possible for these concept (all child windows ...
    (microsoft.public.win32.programmer.gdi)