Added FIXME:s in the stubs.

This commit is contained in:
Patrik Stridvall 2002-12-02 19:00:59 +00:00 committed by Alexandre Julliard
parent 41fcb0bbe4
commit 7bff19ea6e
5 changed files with 67 additions and 8 deletions

View File

@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = cabinet.dll MODULE = cabinet.dll
IMPORTS = kernel32
LDDLLFLAGS = @LDDLLFLAGS@ LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o SYMBOLFILE = $(MODULE).tmp.o

View File

@ -21,6 +21,8 @@
#include "config.h" #include "config.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "fci.h" #include "fci.h"
#include "wine/debug.h" #include "wine/debug.h"
@ -45,6 +47,16 @@ HFCI __cdecl FCICreate(
PCCAB pccab, PCCAB pccab,
void *pv) 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; return NULL;
} }
@ -61,6 +73,11 @@ BOOL __cdecl FCIAddFile(
PFNFCIGETOPENINFO pfnfcigoi, PFNFCIGETOPENINFO pfnfcigoi,
TCOMP typeCompress) 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; return FALSE;
} }
@ -73,6 +90,10 @@ BOOL __cdecl FCIFlushCabinet(
PFNFCIGETNEXTCABINET pfnfcignc, PFNFCIGETNEXTCABINET pfnfcignc,
PFNFCISTATUS pfnfcis) PFNFCISTATUS pfnfcis)
{ {
FIXME("(%p, %d, %p, %p): stub\n", hfci, fGetNextCab, pfnfcignc, pfnfcis);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
@ -84,6 +105,10 @@ BOOL __cdecl FCIFlushFolder(
PFNFCIGETNEXTCABINET pfnfcignc, PFNFCIGETNEXTCABINET pfnfcignc,
PFNFCISTATUS pfnfcis) PFNFCISTATUS pfnfcis)
{ {
FIXME("(%p, %p, %p): stub\n", hfci, pfnfcignc, pfnfcis);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
@ -92,5 +117,9 @@ BOOL __cdecl FCIFlushFolder(
*/ */
BOOL __cdecl FCIDestroy(HFCI hfci) BOOL __cdecl FCIDestroy(HFCI hfci)
{ {
FIXME("(%p): stub\n", hfci);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }

View File

@ -21,6 +21,8 @@
#include "config.h" #include "config.h"
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "fdi.h" #include "fdi.h"
#include "wine/debug.h" #include "wine/debug.h"
@ -41,23 +43,37 @@ HFDI __cdecl FDICreate(
int cpuType, int cpuType,
PERF perf) 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; return NULL;
} }
/*********************************************************************** /***********************************************************************
* FDICreate (CABINET.20) * FDIIsCabinet (CABINET.21)
*/ */
BOOL __cdecl FDIIsCabinet( BOOL __cdecl FDIIsCabinet(
HFDI hfdi, HFDI hfdi,
INT_PTR hf, INT_PTR hf,
PFDICABINETINFO pfdici) PFDICABINETINFO pfdici)
{ {
FIXME("(%p, %d, %p): stub\n", hfdi, hf, pfdici);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
/*********************************************************************** /***********************************************************************
* FDICreate (CABINET.20) * FDICopy (CABINET.22)
*/ */
BOOL __cdecl FDICopy( BOOL __cdecl FDICopy(
HFDI hfdi, HFDI hfdi,
@ -68,14 +84,23 @@ BOOL __cdecl FDICopy(
PFNFDIDECRYPT pfnfdid, PFNFDIDECRYPT pfnfdid,
void *pvUser) 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; return FALSE;
} }
/*********************************************************************** /***********************************************************************
* FDICreate (CABINET.20) * FDIDestroy (CABINET.23)
*/ */
BOOL __cdecl FDIDestroy(HFDI hfdi) BOOL __cdecl FDIDestroy(HFDI hfdi)
{ {
FIXME("(%p): stub\n", hfdi);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
@ -87,5 +112,9 @@ BOOL __cdecl FDITruncateCabinet(
char *pszCabinetName, char *pszCabinetName,
USHORT iFolderToDelete) USHORT iFolderToDelete)
{ {
FIXME("(%p, %p, %hu): stub\n", hfdi, pszCabinetName, iFolderToDelete);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }

View File

@ -43,7 +43,7 @@ typedef struct {
int erfOper; /* FCI/FDI error code - see {FCI,FDI}ERROR_XXX for details. */ int erfOper; /* FCI/FDI error code - see {FCI,FDI}ERROR_XXX for details. */
int erfType; /* Optional error value filled in by FCI/FDI. */ int erfType; /* Optional error value filled in by FCI/FDI. */
BOOL fError; /* TRUE => error present */ BOOL fError; /* TRUE => error present */
} ERF, PERF; } ERF, *PERF;
/**********************************************************************/ /**********************************************************************/

View File

@ -43,7 +43,7 @@ typedef struct {
int erfOper; /* FCI/FDI error code - see {FCI,FDI}ERROR_XXX for details. */ int erfOper; /* FCI/FDI error code - see {FCI,FDI}ERROR_XXX for details. */
int erfType; /* Optional error value filled in by FCI/FDI. */ int erfType; /* Optional error value filled in by FCI/FDI. */
BOOL fError; /* TRUE => error present */ BOOL fError; /* TRUE => error present */
} ERF, PERF; } ERF, *PERF;
/**********************************************************************/ /**********************************************************************/