- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
structs.h
资源名称:unzip540.zip [点击查看]
上传用户:andy_li
上传日期:2007-01-06
资源大小:1019k
文件大小:1k
源码类别:
压缩解压
开发平台:
MultiPlatform
- #ifndef __structs_h
- #define __structs_h
- #ifndef Far
- # define Far far
- #endif
- /* Porting definitions between Win 3.1x and Win32 */
- #ifdef WIN32
- # define far
- # define _far
- # define __far
- # define near
- # define _near
- # define __near
- # ifndef FAR
- # define FAR
- # endif
- #endif
- #ifndef PATH_MAX
- # define PATH_MAX 260 /* max total file or directory name path */
- #endif
- #ifndef DEFINED_ONCE
- #define DEFINED_ONCE
- typedef int (WINAPI DLLPRNT) (LPSTR, unsigned long);
- typedef int (WINAPI DLLPASSWORD) (LPSTR, int, LPCSTR, LPCSTR);
- typedef int (WINAPI DLLSERVICE) (LPCSTR, unsigned long);
- #endif
- typedef void (WINAPI DLLSND) (void);
- typedef int (WINAPI DLLREPLACE)(LPSTR);
- typedef void (WINAPI DLLMESSAGE)(unsigned long, unsigned long, unsigned,
- unsigned, unsigned, unsigned, unsigned, unsigned,
- char, LPSTR, LPSTR, unsigned long, char);
- typedef struct {
- DLLPRNT *print;
- DLLSND *sound;
- DLLREPLACE *replace;
- DLLPASSWORD *password;
- DLLMESSAGE *SendApplicationMessage;
- DLLSERVICE *ServCallBk;
- unsigned long TotalSizeComp;
- unsigned long TotalSize;
- int CompFactor;
- unsigned int NumMembers;
- WORD cchComment;
- } USERFUNCTIONS, far * LPUSERFUNCTIONS;
- typedef struct {
- int ExtractOnlyNewer;
- int SpaceToUnderscore;
- int PromptToOverwrite;
- int fQuiet;
- int ncflag;
- int ntflag;
- int nvflag;
- int nUflag;
- int nzflag;
- int ndflag;
- int noflag;
- int naflag;
- int nZIflag;
- int C_flag;
- int fPrivilege;
- LPSTR lpszZipFN;
- LPSTR lpszExtractDir;
- } DCL, far * LPDCL;
- #endif /* __structs_h */