summary refs log blame commit diff stats
path: root/win32/ext/zlib-wdk/zlibvc.def
blob: 0269ef722c1ce3a9422168a9b99e64466600111f (plain) (tree)

































































































































                                                      
LIBRARY
; zlib data compression and ZIP file I/O library

VERSION		1.24

EXPORTS
        adler32                                  @1
        compress                                 @2
        crc32                                    @3
        deflate                                  @4
        deflateCopy                              @5
        deflateEnd                               @6
        deflateInit2_                            @7
        deflateInit_                             @8
        deflateParams                            @9
        deflateReset                             @10
        deflateSetDictionary                     @11
        gzclose                                  @12
        gzdopen                                  @13
        gzerror                                  @14
        gzflush                                  @15
        gzopen                                   @16
        gzread                                   @17
        gzwrite                                  @18
        inflate                                  @19
        inflateEnd                               @20
        inflateInit2_                            @21
        inflateInit_                             @22
        inflateReset                             @23
        inflateSetDictionary                     @24
        inflateSync                              @25
        uncompress                               @26
        zlibVersion                              @27
        gzprintf                                 @28
        gzputc                                   @29
        gzgetc                                   @30
        gzseek                                   @31
        gzrewind                                 @32
        gztell                                   @33
        gzeof                                    @34
        gzsetparams                              @35
        zError                                   @36
        inflateSyncPoint                         @37
        get_crc_table                            @38
        compress2                                @39
        gzputs                                   @40
        gzgets                                   @41
        inflateCopy                              @42
        inflateBackInit_                         @43
        inflateBack                              @44
        inflateBackEnd                           @45
        compressBound                            @46
        deflateBound                             @47
        gzclearerr                               @48
        gzungetc                                 @49
        zlibCompileFlags                         @50
        deflatePrime                             @51

        unzOpen                                  @61
        unzClose                                 @62
        unzGetGlobalInfo                         @63
        unzGetCurrentFileInfo                    @64
        unzGoToFirstFile                         @65
        unzGoToNextFile                          @66
        unzOpenCurrentFile                       @67
        unzReadCurrentFile                       @68
        unzOpenCurrentFile3                      @69
        unztell                                  @70
        unzeof                                   @71
        unzCloseCurrentFile                      @72
        unzGetGlobalComment                      @73
        unzStringFileNameCompare                 @74
        unzLocateFile                            @75
        unzGetLocalExtrafield                    @76
        unzOpen2                                 @77
        unzOpenCurrentFile2                      @78
        unzOpenCurrentFilePassword               @79

        zipOpen                                  @80
        zipOpenNewFileInZip                      @81
        zipWriteInFileInZip                      @82
        zipCloseFileInZip                        @83
        zipClose                                 @84
        zipOpenNewFileInZip2                     @86
        zipCloseFileInZipRaw                     @87
        zipOpen2                                 @88
        zipOpenNewFileInZip3                     @89

        unzGetFilePos                            @100
        unzGoToFilePos                           @101

        fill_win32_filefunc                      @110

; zlibwapi v1.2.4 added:
        fill_win32_filefunc64                   @111
        fill_win32_filefunc64A                  @112
        fill_win32_filefunc64W                  @113

        unzOpen64                               @120
        unzOpen2_64                             @121
        unzGetGlobalInfo64                      @122
        unzGetCurrentFileInfo64                 @124
        unzGetCurrentFileZStreamPos64           @125
        unztell64                               @126
        unzGetFilePos64                         @127
        unzGoToFilePos64                        @128

        zipOpen64                               @130
        zipOpen2_64                             @131
        zipOpenNewFileInZip64                   @132
        zipOpenNewFileInZip2_64                 @133
        zipOpenNewFileInZip3_64                 @134
        zipOpenNewFileInZip4_64                 @135
        zipCloseFileInZipRaw64                  @136

; zlib1 v1.2.4 added:
        adler32_combine                         @140
        crc32_combine                           @142
        deflateSetHeader                        @144
        deflateTune                             @145
        gzbuffer                                @146
        gzclose_r                               @147
        gzclose_w                               @148
        gzdirect                                @149
        gzoffset                                @150
        inflateGetHeader                        @156
        inflateMark                             @157
        inflatePrime                            @158
        inflateReset2                           @159
        inflateUndermine                        @160
/span> new TCHAR[64]; ConvertString(szTip, szTemp, 64); _tcsncpy(nidata.szTip, szTemp, 64); delete[] szTemp; } return Shell_NotifyIcon(NIM_MODIFY, &nidata); } int ShowBalloon(HWND hwnd, UINT id, char *szInfo, char *szTitle, UINT time, UINT infoFlags) { NOTIFYICONDATA nidata; nidata.cbSize = NOTIFYICONDATA_V2_SIZE; nidata.hWnd = hwnd; nidata.uID = id; nidata.uFlags = NIF_INFO; nidata.dwInfoFlags = infoFlags; if(time > 0) nidata.uTimeout = time; else nidata.uTimeout = 500000; if(szInfo != NULL) { TCHAR *szTemp = new TCHAR[255]; ConvertString(szInfo, szTemp, 251); szTemp[250] = 0; if(strlen(szInfo) > 255) { _sntprintf(szTemp, 255, _T("%s..."), szTemp); } _tcsncpy(nidata.szInfo, szTemp, 255); delete[] szTemp; } if(szTitle != NULL) { TCHAR *wszTitle = new TCHAR[64]; ConvertString(szTitle, wszTitle, 64); _tcsncpy(nidata.szInfoTitle, wszTitle, 64); delete[] wszTitle; } return Shell_NotifyIcon(NIM_MODIFY, &nidata); } DWORD WINAPI BlinkThread(LPVOID lpParam) { NOTIFYICONDATA nidata; nidata.cbSize = NOTIFYICONDATA_V2_SIZE; nidata.hWnd = tData->hwnd; nidata.uID = tData->id; nidata.uFlags = NIF_ICON; for(UINT i = 0; i < tData->num; i++) { nidata.hIcon = tData->hBlink; Shell_NotifyIcon(NIM_MODIFY, &nidata); Sleep(tData->time); nidata.hIcon = tData->hBase; Shell_NotifyIcon(NIM_MODIFY, &nidata); Sleep(tData->time); } delete tData; hThread = NULL; return 0; } int BlinkIcon(HWND hwnd, UINT id, HICON hBase, HICON hBlink, UINT time, UINT num) { if(hThread != NULL) { StopBlink(hwnd, id, hBase); } DWORD dwThreadID; tData = new iBlink; tData->hwnd = hwnd; tData->id = id; tData->hBase = hBase; tData->hBlink = hBlink; tData->time = time; tData->num = num; hThread = CreateThread(NULL, 0, BlinkThread, tData, 0, &dwThreadID); return 0; } void StopBlink(HWND hwnd, UINT id, HICON hBase) { if(hThread != NULL) { TerminateThread(hThread, 0); hThread = NULL; delete tData; } SetIcon(hwnd, id, hBase); }