(file) Return to fci.c CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / twiki / pub / WineDev / Group3

  1 rizwank 1.1 /*
  2              * File Compression Interface
  3              *
  4              * Copyright 2002 Patrik Stridvall
  5              *
  6              * This library is free software; you can redistribute it and/or
  7              * modify it under the terms of the GNU Lesser General Public
  8              * License as published by the Free Software Foundation; either
  9              * version 2.1 of the License, or (at your option) any later version.
 10              *
 11              * This library is distributed in the hope that it will be useful,
 12              * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13              * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 14              * Lesser General Public License for more details.
 15              *
 16              * You should have received a copy of the GNU Lesser General Public
 17              * License along with this library; if not, write to the Free Software
 18              * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 19              */
 20             
 21             #include "config.h"
 22 rizwank 1.1 
 23             #include <stdarg.h>
 24             
 25             #include "windef.h"
 26             #include "winbase.h"
 27             #include "winerror.h"
 28             #include "fci.h"
 29             
 30             #include "wine/debug.h"
 31             
 32             WINE_DEFAULT_DEBUG_CHANNEL(cabinet);
 33             
 34             /***********************************************************************
 35              *		FCICreate (CABINET.10)
 36              */
 37             HFCI __cdecl FCICreate(
 38             	PERF perf,
 39             	PFNFCIFILEPLACED   pfnfcifp,
 40             	PFNFCIALLOC        pfna,
 41             	PFNFCIFREE         pfnf,
 42             	PFNFCIOPEN         pfnopen,
 43 rizwank 1.1 	PFNFCIREAD         pfnread,
 44             	PFNFCIWRITE        pfnwrite,
 45             	PFNFCICLOSE        pfnclose,
 46             	PFNFCISEEK         pfnseek,
 47             	PFNFCIDELETE       pfndelete,
 48             	PFNFCIGETTEMPFILE  pfnfcigtf,
 49             	PCCAB              pccab,
 50             	void *pv)
 51             {
 52                 FIXME("(%p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p): stub\n",
 53             	  perf, pfnfcifp, pfna, pfnf, pfnopen, pfnread, pfnwrite, pfnclose,
 54             	  pfnseek, pfndelete, pfnfcigtf, pccab, pv);
 55             
 56                 perf->erfOper = FCIERR_NONE;
 57                 perf->erfType = 0;
 58                 perf->fError = TRUE;
 59             
 60                 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
 61             
 62                 return NULL;
 63             }
 64 rizwank 1.1 
 65             /***********************************************************************
 66              *		FCIAddFile (CABINET.11)
 67              */
 68             BOOL __cdecl FCIAddFile(
 69             	HFCI                  hfci,
 70             	char                 *pszSourceFile,
 71             	char                 *pszFileName,
 72             	BOOL                  fExecute,
 73             	PFNFCIGETNEXTCABINET  pfnfcignc,
 74             	PFNFCISTATUS          pfnfcis,
 75             	PFNFCIGETOPENINFO     pfnfcigoi,
 76             	TCOMP                 typeCompress)
 77             {
 78                 FIXME("(%p, %p, %p, %d, %p, %p, %p, %hu): stub\n", hfci, pszSourceFile,
 79             	  pszFileName, fExecute, pfnfcignc, pfnfcis, pfnfcigoi, typeCompress);
 80             
 81                 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
 82             
 83                 return FALSE;
 84             }
 85 rizwank 1.1 
 86             /***********************************************************************
 87              *		FCIFlushCabinet (CABINET.13)
 88              */
 89             BOOL __cdecl FCIFlushCabinet(
 90             	HFCI                  hfci,
 91             	BOOL                  fGetNextCab,
 92             	PFNFCIGETNEXTCABINET  pfnfcignc,
 93             	PFNFCISTATUS          pfnfcis)
 94             {
 95                 FIXME("(%p, %d, %p, %p): stub\n", hfci, fGetNextCab, pfnfcignc, pfnfcis);
 96             
 97                 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
 98             
 99                 return FALSE;
100             }
101             
102             /***********************************************************************
103              *		FCIFlushFolder (CABINET.12)
104              */
105             BOOL __cdecl FCIFlushFolder(
106 rizwank 1.1 	HFCI                  hfci,
107             	PFNFCIGETNEXTCABINET  pfnfcignc,
108             	PFNFCISTATUS          pfnfcis)
109             {
110                 FIXME("(%p, %p, %p): stub\n", hfci, pfnfcignc, pfnfcis);
111             
112                 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
113             
114                 return FALSE;
115             }
116             
117             /***********************************************************************
118              *		FCIDestroy (CABINET.14)
119              */
120             BOOL __cdecl FCIDestroy(HFCI hfci)
121             {
122                 FIXME("(%p): stub\n", hfci);
123             
124                 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
125             
126                 return FALSE;
127 rizwank 1.1 }

Rizwan Kassim
Powered by
ViewCVS 0.9.2