Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

i_opencbm.h

Go to the documentation of this file.
00001 /*
00002  *  This program is free software; you can redistribute it and/or
00003  *  modify it under the terms of the GNU General Public License
00004  *  as published by the Free Software Foundation; either version
00005  *  2 of the License, or (at your option) any later version.
00006  *
00007  *  Copyright 2004 Spiro Trikaliotis
00008  *
00009  */
00010 
00020 #ifndef I_OPENCBM_H
00021 #define I_OPENCBM_H
00022 
00023 #include "opencbm.h"
00024 
00025 extern BOOL cbm_ioctl(IN CBM_FILE HandleDevice, IN DWORD ControlCode, 
00026 #if DBG
00027           IN char *TextControlCode, 
00028 #endif // #if DBG
00029           IN PVOID InBuffer, IN ULONG InBufferSize,
00030           OUT PVOID OutBuffer, IN ULONG OutBufferSize);
00031 
00036 #if DBG
00037     #define CBMCTRL( _x_ ) CBMCTRL_##_x_, "CBMCTRL_" #_x_
00038 #else  // #if DBG
00039     #define CBMCTRL( _x_ ) CBMCTRL_##_x_
00040 #endif // #if DBG
00041 
00042 extern BOOL cbm_i_driver_stop(VOID);
00043 extern BOOL cbm_i_driver_start(VOID);
00044 
00045 extern BOOL cbm_i_i_driver_install(OUT PULONG Buffer, IN ULONG BufferLen);
00046 
00047 EXTERN BOOL CBMAPIDECL cbm_i_driver_install(OUT PULONG Buffer, IN ULONG BufferLen);
00049 typedef BOOL (CBMAPIDECL *P_CBM_I_DRIVER_INSTALL)(OUT PULONG Buffer, IN ULONG BufferLen);
00050 
00051 extern LONG RegGetDWORD(IN HKEY RegKey, IN char *SubKey, OUT LPDWORD Value);
00052 extern BOOL IsDriverStartedAutomatically(VOID);
00053 
00054 #if DBG
00055     extern VOID cbm_i_get_debugging_flags(VOID);
00056 #endif
00057 
00058 #endif /* I_OPENCBM_H */

Generated on Sun Apr 30 18:45:52 2006 for opencbm by  doxygen 1.4.2