Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
adf_hd.h
Package: adfview_src.zip [view]
Upload User: hy_wanghao
Upload Date: 2007-01-08
Package Size: 279k
Code Size: 2k
Category:
Shell api
Development Platform:
Visual C++
- #ifndef _ADF_HD_H
- #define _ADF_HD_H 1
- /*
- * ADF Library. (C) 1997-1998 Laurent Clevy
- *
- * adf_hd.h
- *
- * Harddisk and devices code
- */
- #include"prefix.h"
- #include "adf_str.h"
- #include "hd_blk.h"
- #include "adf_err.h"
- int adfDevType(struct Device *dev);
- PREFIX void adfDeviceInfo(struct Device *dev);
- RETCODE adfMountHd(struct Device *dev);
- RETCODE adfMountFlop(struct Device* dev);
- PREFIX struct Device* adfMountDev( char* filename,BOOL);
- PREFIX void adfUnMountDev( struct Device* dev);
- RETCODE adfCreateHdHeader(struct Device* dev, int n, struct Partition** partList );
- PREFIX RETCODE adfCreateFlop(struct Device* dev, char* volName, int volType );
- PREFIX RETCODE adfCreateHd(struct Device* dev, int n, struct Partition** partList );
- PREFIX RETCODE adfCreateHdFile(struct Device* dev, char* volName, int volType);
- struct Device* adfCreateDev(char* filename, long cylinders, long heads, long sectors);
- RETCODE adfReadBlockDev( struct Device* dev, long nSect, long size, unsigned char* buf );
- RETCODE adfWriteBlockDev(struct Device* dev, long nSect, long size, unsigned char* buf );
- RETCODE adfReadRDSKblock( struct Device* dev, struct bRDSKblock* blk );
- RETCODE adfWriteRDSKblock(struct Device *dev, struct bRDSKblock* rdsk);
- RETCODE adfReadPARTblock( struct Device* dev, long nSect, struct bPARTblock* blk );
- RETCODE adfWritePARTblock(struct Device *dev, long nSect, struct bPARTblock* part);
- RETCODE adfReadFSHDblock( struct Device* dev, long nSect, struct bFSHDblock* blk);
- RETCODE adfWriteFSHDblock(struct Device *dev, long nSect, struct bFSHDblock* fshd);
- RETCODE adfReadLSEGblock(struct Device* dev, long nSect, struct bLSEGblock* blk);
- RETCODE adfWriteLSEGblock(struct Device *dev, long nSect, struct bLSEGblock* lseg);
- #endif /* _ADF_HD_H */
- /*##########################################################################*/