Commit 7bff19ea authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Added FIXME:s in the stubs.

parent 41fcb0bb
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = cabinet.dll
IMPORTS = kernel32
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
......@@ -21,6 +21,8 @@
#include "config.h"
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "fci.h"
#include "wine/debug.h"
......@@ -45,6 +47,16 @@ HFCI __cdecl FCICreate(
PCCAB pccab,
void *pv)
{
FIXME("(%p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p): stub\n",
perf, pfnfcifp, pfna, pfnf, pfnopen, pfnread, pfnwrite, pfnclose,
pfnseek, pfndelete, pfnfcigtf, pccab, pv);
perf->erfOper = FCIERR_NONE;
perf->erfType = 0;
perf->fError = TRUE;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL;
}
......@@ -61,6 +73,11 @@ BOOL __cdecl FCIAddFile(
PFNFCIGETOPENINFO pfnfcigoi,
TCOMP typeCompress)
{
FIXME("(%p, %p, %p, %d, %p, %p, %p, %hu): stub\n", hfci, pszSourceFile,
pszFileName, fExecute, pfnfcignc, pfnfcis, pfnfcigoi, typeCompress);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
......@@ -73,7 +90,11 @@ BOOL __cdecl FCIFlushCabinet(
PFNFCIGETNEXTCABINET pfnfcignc,
PFNFCISTATUS pfnfcis)
{
return FALSE;
FIXME("(%p, %d, %p, %p): stub\n", hfci, fGetNextCab, pfnfcignc, pfnfcis);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
......@@ -84,7 +105,11 @@ BOOL __cdecl FCIFlushFolder(
PFNFCIGETNEXTCABINET pfnfcignc,
PFNFCISTATUS pfnfcis)
{
return FALSE;
FIXME("(%p, %p, %p): stub\n", hfci, pfnfcignc, pfnfcis);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
......@@ -92,5 +117,9 @@ BOOL __cdecl FCIFlushFolder(
*/
BOOL __cdecl FCIDestroy(HFCI hfci)
{
return FALSE;
FIXME("(%p): stub\n", hfci);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
......@@ -21,6 +21,8 @@
#include "config.h"
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "fdi.h"
#include "wine/debug.h"
......@@ -41,23 +43,37 @@ HFDI __cdecl FDICreate(
int cpuType,
PERF perf)
{
FIXME("(%p, %p, %p, %p, %p, %p, %p, %d, %p): stub\n",
pfnalloc, pfnfree, pfnopen, pfnread, pfnwrite, pfnclose, pfnseek,
cpuType, perf);
perf->erfOper = FDIERROR_NONE;
perf->erfType = 0;
perf->fError = TRUE;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL;
}
/***********************************************************************
* FDICreate (CABINET.20)
* FDIIsCabinet (CABINET.21)
*/
BOOL __cdecl FDIIsCabinet(
HFDI hfdi,
INT_PTR hf,
PFDICABINETINFO pfdici)
{
FIXME("(%p, %d, %p): stub\n", hfdi, hf, pfdici);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* FDICreate (CABINET.20)
* FDICopy (CABINET.22)
*/
BOOL __cdecl FDICopy(
HFDI hfdi,
......@@ -68,14 +84,23 @@ BOOL __cdecl FDICopy(
PFNFDIDECRYPT pfnfdid,
void *pvUser)
{
FIXME("(%p, %p, %p, %d, %p, %p, %p): stub\n",
hfdi, pszCabinet, pszCabPath, flags, pfnfdin, pfnfdid, pvUser);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* FDICreate (CABINET.20)
* FDIDestroy (CABINET.23)
*/
BOOL __cdecl FDIDestroy(HFDI hfdi)
{
FIXME("(%p): stub\n", hfdi);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
......@@ -87,5 +112,9 @@ BOOL __cdecl FDITruncateCabinet(
char *pszCabinetName,
USHORT iFolderToDelete)
{
FIXME("(%p, %p, %hu): stub\n", hfdi, pszCabinetName, iFolderToDelete);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
......@@ -43,7 +43,7 @@ typedef struct {
int erfOper; /* FCI/FDI error code - see {FCI,FDI}ERROR_XXX for details. */
int erfType; /* Optional error value filled in by FCI/FDI. */
BOOL fError; /* TRUE => error present */
} ERF, PERF;
} ERF, *PERF;
/**********************************************************************/
......
......@@ -43,7 +43,7 @@ typedef struct {
int erfOper; /* FCI/FDI error code - see {FCI,FDI}ERROR_XXX for details. */
int erfType; /* Optional error value filled in by FCI/FDI. */
BOOL fError; /* TRUE => error present */
} ERF, PERF;
} ERF, *PERF;
/**********************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment