"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "c-headers/windll/windll.h" of archive zip232dN.zip:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*
    2   Copyright (c) 1990-1999 Info-ZIP.  All rights reserved.
    3 
    4   See the accompanying file LICENSE, version 1999-Oct-05 or later
    5   (the contents of which are also included in zip.h) for terms of use.
    6   If, for some reason, both of these files are missing, the Info-ZIP license
    7   also may be found at:  ftp://ftp.cdrom.com/pub/infozip/license.html
    8 */
    9 /*
   10  WiZ 1.0 header file for zip dll
   11 */
   12 #ifndef _WINDLL_H
   13 #define _WINDLL_H
   14 
   15 #include "structs.h"
   16 
   17 #ifndef MSWIN
   18 #define MSWIN
   19 #endif
   20 
   21 #ifndef USE_ZIPMAIN
   22 #   define USE_ZIPMAIN
   23 #endif
   24 
   25 #ifndef NDEBUG
   26 #  define WinAssert(exp) \
   27         {\
   28         if (!(exp))\
   29             {\
   30             char szBuffer[40];\
   31             sprintf(szBuffer, "File %s, Line %d",\
   32                     __FILE__, __LINE__) ;\
   33             if (IDABORT == MessageBox((HWND)NULL, szBuffer,\
   34                 "Assertion Error",\
   35                 MB_ABORTRETRYIGNORE|MB_ICONSTOP))\
   36                     FatalExit(-1);\
   37             }\
   38         }
   39 
   40 #else
   41 #  define WinAssert(exp)
   42 #endif
   43 
   44 #define cchFilesMax 4096
   45 
   46 extern int WINAPI ZpArchive(ZCL C);
   47 extern HWND hGetFilesDlg;
   48 extern char szFilesToAdd[80];
   49 extern char rgszFiles[cchFilesMax];
   50 BOOL WINAPI CommentBoxProc(HWND hwndDlg, WORD wMessage, WPARAM wParam, LPARAM lParam);
   51 BOOL PasswordProc(HWND, WORD, WPARAM, LPARAM);
   52 void CenterDialog(HWND hwndParent, HWND hwndDlg);
   53 void comment(unsigned int);
   54 
   55 extern LPSTR szCommentBuf;
   56 extern HANDLE hStr;
   57 extern HWND hWndMain;
   58 void __far __cdecl perror(const char *);
   59 
   60 #endif /* _WINDLL_H */
   61