home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / USBSampleStorageDriver / UnitTableDriver / UnitTableFunctions.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-25  |  1.3 KB  |  33 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        UnitTableFunctions.h
  3.  
  4.     Contains:    This contains the function entry points for each function
  5.                 code passed to DoDriverIO.
  6.  
  7.     Version:    1.0
  8.  
  9.     Copyright:    © 1999 by Apple Computer, Inc., all rights reserved.
  10.  
  11. */
  12.  
  13. #pragma once
  14. #include <DriverServices.h>
  15.  
  16. //----------------------------------------------------------------------------------
  17. //    DoDriverIO Functions Prototypes - 
  18. //     These are the functions to carry out the requests sent to DoDriverIO
  19. //----------------------------------------------------------------------------------
  20.  
  21. extern OSStatus DriverInitializeCmd( DriverRefNum theRefNum, RegEntryIDPtr theRegEntryPtr );
  22. extern OSStatus DriverFinalizeCmd( DriverRefNum theRefNum, RegEntryIDPtr theRegEntryPtr );
  23. extern OSStatus DriverSupersededCmd(  DriverRefNum theRefNum, RegEntryIDPtr theRegEntryPtr );
  24. extern OSStatus DriverReplaceCmd( DriverRefNum theRefNum, RegEntryIDPtr theRegEntryPtr );
  25. extern OSStatus DriverOpenCmd(ParmBlkPtr pb);
  26. extern OSStatus DriverCloseCmd( ParmBlkPtr pb);
  27. extern OSStatus DriverControlCmd(IOCommandID ioCommandID, ParmBlkPtr pb);
  28. extern OSStatus DriverStatusCmd(IOCommandID ioCommandID, ParmBlkPtr pb);
  29. extern OSStatus DriverReadCmd(IOCommandID ioCommandID, ParmBlkPtr pb);
  30. extern OSStatus DriverWriteCmd(IOCommandID ioCommandID, ParmBlkPtr pb);
  31. extern OSStatus DriverKillIOCmd( ParmBlkPtr pb);
  32.  
  33.