home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Snippets / driver 2.2 / THINKProc.c < prev   
Encoding:
Text File  |  1993-10-23  |  1.5 KB  |  9 lines  |  [TEXT/KAHL]

  1. /*
  2.  *    THINKProc.c by Pete Resnick. This source file should be compiled in
  3.  *    THINK C in a seperate project as a code resource. The resource type
  4.  *    is defined in driver.c as 'PROC' and the resource ID is defined as 128
  5.  *    in drvrincludes.h. The ID canbe changed if necessary. This code
  6.  *    actually replaces the call to GetResource in THINK C's driver glue.
  7.  *    Instead of the driver DATA resource and multi-segment DCOD resources
  8.  *    being in the driver's resource file, they are detached handles in the
  9.  *    system