home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / VFDVDD.H < prev    next >
C/C++ Source or Header  |  1997-04-10  |  1KB  |  56 lines

  1. /***************************************************************************
  2. *
  3. * Module Name: Vfdvdd.h
  4. *
  5. * OS/2 public header file.
  6. *
  7. * Copyright (c) 1987 - 1992  IBM Corporation
  8. *
  9. * Virtual Floppy Device Driver VFD/VDD Communication Interface
  10. *
  11. */
  12.  
  13. #pragma checkout( suspend )
  14.    #ifndef __CHKHDR__
  15.       #pragma checkout( suspend )
  16.    #endif
  17. #pragma checkout( resume )
  18.  
  19. #ifndef __VFDVDD__
  20. #define __VFDVDD__
  21.  
  22. #define VFLPY_NAME      "VFLPY$"
  23.  
  24.  
  25. /***    VDD Requests
  26.  *
  27.  *  Format:
  28.  *      (*pfnVDDReqProc)(hvdm, VFVDDREQ_*, ul1, ul2);
  29.  *
  30.  *  VFVDDREQ_MOTOROFF:
  31.  *      ENTRY
  32.  *          hvdm-> VDM
  33.  *          ul1 == 0                    //not used
  34.  *          ul2 == 0                    //not used
  35.  *      EXIT-SUCCESS
  36.  *          Returns TRUE
  37.  *      EXIT-FAILURE
  38.  *          Returns FALSE
  39.  *      CONTEXT
  40.  *          VDM Task-time
  41.  */
  42.  
  43. #define VFVDDREQ_MOTOROFF       0x00            /* turn floppy motor off */
  44. #define RESUME_PDD_CMD          1               /* Resume PDD ownership of floppy */  // @1809
  45.  
  46. #define ENTER_VFLPY 0                  // Used by VDSK to serialize access to VFLPY
  47. #define EXIT_VFLPY  1
  48.  
  49. #endif /* __VFDVDD__ */
  50.  
  51. #pragma checkout( suspend )
  52.    #ifndef __CHKHDR__
  53.       #pragma checkout( resume )
  54.    #endif
  55. #pragma checkout( resume )
  56.