Hooking CreateWindowEx_ function from user32.dll

Windows specific forum
EmiZ
New User
New User
Posts: 1
Joined: Wed Apr 01, 2009 3:01 pm

Hooking CreateWindowEx_ function from user32.dll

Post by EmiZ »

Hello, I'm trying to write a NTService that kills the process of some P2P programs (specifically Ares and LimeWire :P).

I once saw here a snippet of code that hooked a function (I think it was CreateWindowEx_ from user32.dll), but sadly I cannot find the post and I cannot remember how it was the method of hooking that specific function from the DLL.

The things I remember are that the snippet hooked, and everytime a top level window was created it displayed a MessageRequester with the title and the hWnd.

Any hints of that post, or some way to do it?

Thanks in advance.
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Post Reply