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_err.h
Package: adfview_src.zip [view]
Upload User: hy_wanghao
Upload Date: 2007-01-08
Package Size: 279k
Code Size: 1k
Category:
Shell api
Development Platform:
Visual C++
- #ifndef ADF_ERR_H
- #define ADF_ERR_H
- /*
- * adf_err.h
- *
- *
- */
- #define hasRC(rc,c) ((rc)&(c))
- #define RC_OK 0
- #define RC_ERROR -1
- #define RC_MALLOC 1
- #define RC_VOLFULL 2
- #define RC_FOPEN 1<<10
- #define RC_NULLPTR 1<<12
- /* adfRead*Block() */
- #define RC_BLOCKTYPE 1
- #define RC_BLOCKSTYPE 1<<1
- #define RC_BLOCKSUM 1<<2
- #define RC_HEADERKEY 1<<3
- #define RC_BLOCKREAD 1<<4
- /* adfWrite*Block */
- #define RC_BLOCKWRITE 1<<4
- /* adfReadBlock() */
- #define RC_BLOCKOUTOFRANGE 1
- #define RC_BLOCKNATREAD 1<<1
- /* adfWriteBlock() */
- /* RC_BLOCKOUTOFRANGE */
- #define RC_BLOCKNATWRITE 1<<1
- #define RC_BLOCKREADONLY 1<<2
- /* adfInitDumpDevice() */
- /* RC_FOPEN */
- /* RC_MALLOC */
- /* adfNativeReadBlock(), adfReadDumpSector() */
- #define RC_BLOCKSHORTREAD 1
- #define RC_BLOCKFSEEK 1<<1
- /* adfNativeWriteBlock(), adfWriteDumpSector() */
- #define RC_BLOCKSHORTWRITE 1
- /* RC_BLOCKFSEEK */
- /*-- adfReadRDSKblock --*/
- #define RC_BLOCKID 1<<5
- /*-- adfWriteRDSKblock() --*/
- /*RC_BLOCKREADONLY*/
- #endif /* ADF_ERR_H */
- /*############################################################################*/