Update types checked by winapi_check.
[wine/dcerpc.git] / dlls / cabinet / fci.c
blobe588ba1ce541d1a54e6835c50ef97424f32e0e48
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 <stdarg.h>
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winerror.h"
28 #include "fci.h"
30 #include "wine/debug.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(cabinet);
34 /***********************************************************************
35 * FCICreate (CABINET.10)
37 HFCI __cdecl FCICreate(
38 PERF perf,
39 PFNFCIFILEPLACED pfnfcifp,
40 PFNFCIALLOC pfna,
41 PFNFCIFREE pfnf,
42 PFNFCIOPEN pfnopen,
43 PFNFCIREAD pfnread,
44 PFNFCIWRITE pfnwrite,
45 PFNFCICLOSE pfnclose,
46 PFNFCISEEK pfnseek,
47 PFNFCIDELETE pfndelete,
48 PFNFCIGETTEMPFILE pfnfcigtf,
49 PCCAB pccab,
50 void *pv)
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);
56 perf->erfOper = FCIERR_NONE;
57 perf->erfType = 0;
58 perf->fError = TRUE;
60 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
62 return NULL;
65 /***********************************************************************
66 * FCIAddFile (CABINET.11)
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)
78 FIXME("(%p, %p, %p, %d, %p, %p, %p, %hu): stub\n", hfci, pszSourceFile,
79 pszFileName, fExecute, pfnfcignc, pfnfcis, pfnfcigoi, typeCompress);
81 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
83 return FALSE;
86 /***********************************************************************
87 * FCIFlushCabinet (CABINET.13)
89 BOOL __cdecl FCIFlushCabinet(
90 HFCI hfci,
91 BOOL fGetNextCab,
92 PFNFCIGETNEXTCABINET pfnfcignc,
93 PFNFCISTATUS pfnfcis)
95 FIXME("(%p, %d, %p, %p): stub\n", hfci, fGetNextCab, pfnfcignc, pfnfcis);
97 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
99 return FALSE;
102 /***********************************************************************
103 * FCIFlushFolder (CABINET.12)
105 BOOL __cdecl FCIFlushFolder(
106 HFCI hfci,
107 PFNFCIGETNEXTCABINET pfnfcignc,
108 PFNFCISTATUS pfnfcis)
110 FIXME("(%p, %p, %p): stub\n", hfci, pfnfcignc, pfnfcis);
112 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
114 return FALSE;
117 /***********************************************************************
118 * FCIDestroy (CABINET.14)
120 BOOL __cdecl FCIDestroy(HFCI hfci)
122 FIXME("(%p): stub\n", hfci);
124 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
126 return FALSE;