home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 13 / CDA13.ISO / cdactual / demobin / share / program / C / ACTLIB10.ZIP / TOOLS.ZIP / EXTHANDL.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-14  |  416 b   |  26 lines

  1. /*  Copyright (C) 1993   Marc Stern  (internet: stern@mble.philips.be)  */
  2.  
  3. /*
  4.  *  Function   :    exthandles
  5.  *
  6.  *  Topics     :    Allows MS-DOS program to open 255 handles
  7.  *
  8.  *  Warning    :    - Valid only for DOS >= 3.3
  9.  *
  10.  */
  11.  
  12.  
  13.  
  14. #include <dos.h>
  15. #include "tools.h"
  16.  
  17.  
  18. void exthandles( void )
  19.  
  20. {  union REGS regs;
  21.  
  22.    regs.x.bx = 255;
  23.    regs.h.ah = 0x67;
  24.    intdos( ®s, ®s );
  25. }
  26.