🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2716

How can I intercept application calls to Windows?

#2716
From: david l sims
Date: Fri, 17 May 1991 23:03
15 lines
1028 bytes
Remember in the good old days of DOS where we could intercept calls to the
operating system by changing a vector in the interrupt vector table?

Well, how can I do the equivalent in Windows?  I would like to write an
experimental program that would simply count the number of times a
particular Windows procedure was called.  If I could intercept these
calls, I could maintain a counter and then proceed to call the real
Windows procedure after I update my counter.

Any ideas?

Also, what about intercepting Windows messages?  I believe the program
POSTMAN does this.  Any ideas on that?

David Sims...dsims@uceng.uc.edu
Technical Details
Message-ID: <8516@uceng.UC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!uceng!dsims

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!uceng!dsims
From: dsims@uceng.UC.EDU (david l sims)
Newsgroups: comp.windows.ms.programmer
Subject: How can I intercept application calls to Windows?
Message-ID: <8516@uceng.UC.EDU>
Date: 17 May 91 23:03:44 GMT
Organization: College of Engg., Univ. of Cincinnati
Lines: 15