Added some stubs.
[wine/wine64.git] / dlls / cabinet / fci.c
blob1a64c44c4e2c74c42954ec70086e18009e820be1
1 /*
2 * File Compression Interface
4 * Copyright 2002 Patrik Stridvall
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.
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.
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
21 #include "config.h"
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winerror.h"
26 #include "fci.h"
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(cabinet);
32 /***********************************************************************
33 * FCICreate (CABINET.10)
35 HFCI __cdecl FCICreate(
36 PERF perf,
37 PFNFCIFILEPLACED pfnfcifp,
38 PFNFCIALLOC pfna,
39 PFNFCIFREE pfnf,
40 PFNFCIOPEN pfnopen,
41 PFNFCIREAD pfnread,
42 PFNFCIWRITE pfnwrite,
43 PFNFCICLOSE pfnclose,
44 PFNFCISEEK pfnseek,
45 PFNFCIDELETE pfndelete,
46 PFNFCIGETTEMPFILE pfnfcigtf,
47 PCCAB pccab,
48 void *pv)
50 FIXME("(%p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p): stub\n",
51 perf, pfnfcifp, pfna, pfnf, pfnopen, pfnread, pfnwrite, pfnclose,
52 pfnseek, pfndelete, pfnfcigtf, pccab, pv);
54 perf->erfOper = FCIERR_NONE;
55 perf->erfType = 0;
56 perf->fError = TRUE;
58 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
60 return NULL;
63 /***********************************************************************
64 * FCIAddFile (CABINET.11)
66 BOOL __cdecl FCIAddFile(
67 HFCI hfci,
68 char *pszSourceFile,
69 char *pszFileName,
70 BOOL fExecute,
71 PFNFCIGETNEXTCABINET pfnfcignc,
72 PFNFCISTATUS pfnfcis,
73 PFNFCIGETOPENINFO pfnfcigoi,
74 TCOMP typeCompress)
76 FIXME("(%p, %p, %p, %d, %p, %p, %p, %hu): stub\n", hfci, pszSourceFile,
77 pszFileName, fExecute, pfnfcignc, pfnfcis, pfnfcigoi, typeCompress);
79 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
81 return FALSE;
84 /***********************************************************************
85 * FCIFlushCabinet (CABINET.13)
87 BOOL __cdecl FCIFlushCabinet(
88 HFCI hfci,
89 BOOL fGetNextCab,
90 PFNFCIGETNEXTCABINET pfnfcignc,
91 PFNFCISTATUS pfnfcis)
93 FIXME("(%p, %d, %p, %p): stub\n", hfci, fGetNextCab, pfnfcignc, pfnfcis);
95 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
97 return FALSE;
100 /***********************************************************************
101 * FCIFlushFolder (CABINET.12)
103 BOOL __cdecl FCIFlushFolder(
104 HFCI hfci,
105 PFNFCIGETNEXTCABINET pfnfcignc,
106 PFNFCISTATUS pfnfcis)
108 FIXME("(%p, %p, %p): stub\n", hfci, pfnfcignc, pfnfcis);
110 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
112 return FALSE;
115 /***********************************************************************
116 * FCIDestroy (CABINET.14)
118 BOOL __cdecl FCIDestroy(HFCI hfci)
120 FIXME("(%p): stub\n", hfci);
122 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
124 return FALSE;