File:  [OS/2 SDKs] / os232sdk / toolkt20 / c / samples / spy / readme
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:26:30 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1990, HEAD
Microsoft OS/2 SDK 2.0 05-30-1990

The spy32 program and dynamic link library spyhk32.dll, is a 32 bit flat
model application that hooks the HK_INPUT and/or HK_SENDMSG hooks, and spys
on what messages are sent to which window.  This program is a conversion of
the original segmentated spy.exe.  Note: Spy32 currently does not support
all of the features of Spy.


The application currently has two threads:
  1) The main thread controls the user interface.
  2) The second thread waits for messages from the hooks.


Source File List:
  allocmem.c    - Simple wrapper functions for Pmwin 16 heap functions
  allocmem.h    -               "
  help.h        - Header file with Help index numbers
  message.c     - Processes Message dialog box
  options.c     - Processes Options style dialog boxes
  queues.c      - Processes "Message Queue List" dialog
  readme        - This file
  spy.c         - The main source to the executable program
  spy.def       - Definition file for executable program
  spy.h         - Headers
  spy.ico       - The icon for the application
  spy.mak       - Make file for both spy32.exe and spyhk32.dll
  spy32.def     - Definition for spy32.exe
  spy32.itl     - Source for Help panels
  spy32.rc      - Resource file for spy32.exe
  spydlgs.dlg   - Dialog definitions.
  spyhk32.c     - Source code for spyhk32.dll
  spyhk32.def   - Definition file for Hook DLL
  spyhk32.h     - Header file for the DLL
  spyr.ico      - Mirror image Icon.
  spytbls.c     - Sources for several tables including message definitions.
  spyutil.c     - Some utility functions.
  spyutil2.asm  - A simple breakpoint (int 3)
  window.c      - Spy Window dialog processing

Executable files:
  spy32.exe     - Main executable program
  spy32.hlp     - Full context sensitive help
  spyhk32.dll   - The DLL containing the Input and send message hook.

Features on spy.exe that are not supported in spy32.exe
    List Near Symbol: The undocumented interface used for this has has
                been removed.  Note: this feature does not work in spy.exe
                on OS/2 2.0 either.

    Send Message Outputs -> Call Stack: spy.exe used to give a stack
                traceback of up to 5 levels deep.  This is now very
                difficult as you can not reliably detect 32 bit calls
                from local calls.


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.