Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
602f42c2
Commit
602f42c2
authored
Jan 13, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Change to LONG/ULONG in fci.h for Win64 compatibility.
parent
8b5a5e53
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
21 deletions
+21
-21
files.c
dlls/advpack/tests/files.c
+3
-3
extract.c
dlls/cabinet/tests/extract.c
+3
-3
fdi.c
dlls/cabinet/tests/fdi.c
+3
-3
install.c
dlls/msi/tests/install.c
+3
-3
fci.h
include/fci.h
+9
-9
No files found.
dlls/advpack/tests/files.c
View file @
602f42c2
...
...
@@ -189,12 +189,12 @@ static BOOL CDECL get_next_cabinet(PCCAB pccab, ULONG cbPrevCab, void *pv)
return
TRUE
;
}
static
long
CDECL
progress
(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
)
static
LONG
CDECL
progress
(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
)
{
return
0
;
}
static
int
CDECL
file_placed
(
PCCAB
pccab
,
char
*
pszFile
,
long
cbFile
,
static
int
CDECL
file_placed
(
PCCAB
pccab
,
char
*
pszFile
,
LONG
cbFile
,
BOOL
fContinuation
,
void
*
pv
)
{
return
0
;
...
...
@@ -256,7 +256,7 @@ static int CDECL fci_close(INT_PTR hf, int *err, void *pv)
return
0
;
}
static
long
CDECL
fci_seek
(
INT_PTR
hf
,
long
dist
,
int
seektype
,
int
*
err
,
void
*
pv
)
static
LONG
CDECL
fci_seek
(
INT_PTR
hf
,
LONG
dist
,
int
seektype
,
int
*
err
,
void
*
pv
)
{
HANDLE
handle
=
(
HANDLE
)
hf
;
DWORD
ret
;
...
...
dlls/cabinet/tests/extract.c
View file @
602f42c2
...
...
@@ -126,12 +126,12 @@ static BOOL CDECL get_next_cabinet(PCCAB pccab, ULONG cbPrevCab, void *pv)
return
TRUE
;
}
static
long
CDECL
progress
(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
)
static
LONG
CDECL
progress
(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
)
{
return
0
;
}
static
int
CDECL
file_placed
(
PCCAB
pccab
,
char
*
pszFile
,
long
cbFile
,
static
int
CDECL
file_placed
(
PCCAB
pccab
,
char
*
pszFile
,
LONG
cbFile
,
BOOL
fContinuation
,
void
*
pv
)
{
return
0
;
...
...
@@ -193,7 +193,7 @@ static int CDECL fci_close(INT_PTR hf, int *err, void *pv)
return
0
;
}
static
long
CDECL
fci_seek
(
INT_PTR
hf
,
long
dist
,
int
seektype
,
int
*
err
,
void
*
pv
)
static
LONG
CDECL
fci_seek
(
INT_PTR
hf
,
LONG
dist
,
int
seektype
,
int
*
err
,
void
*
pv
)
{
HANDLE
handle
=
(
HANDLE
)
hf
;
DWORD
ret
;
...
...
dlls/cabinet/tests/fdi.c
View file @
602f42c2
...
...
@@ -330,12 +330,12 @@ static BOOL CDECL get_next_cabinet(PCCAB pccab, ULONG cbPrevCab, void *pv)
return
TRUE
;
}
static
long
CDECL
progress
(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
)
static
LONG
CDECL
progress
(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
)
{
return
0
;
}
static
int
CDECL
file_placed
(
PCCAB
pccab
,
char
*
pszFile
,
long
cbFile
,
static
int
CDECL
file_placed
(
PCCAB
pccab
,
char
*
pszFile
,
LONG
cbFile
,
BOOL
fContinuation
,
void
*
pv
)
{
return
0
;
...
...
@@ -397,7 +397,7 @@ static int CDECL fci_close(INT_PTR hf, int *err, void *pv)
return
0
;
}
static
long
CDECL
fci_seek
(
INT_PTR
hf
,
long
dist
,
int
seektype
,
int
*
err
,
void
*
pv
)
static
LONG
CDECL
fci_seek
(
INT_PTR
hf
,
LONG
dist
,
int
seektype
,
int
*
err
,
void
*
pv
)
{
HANDLE
handle
=
(
HANDLE
)
hf
;
DWORD
ret
;
...
...
dlls/msi/tests/install.c
View file @
602f42c2
...
...
@@ -1227,12 +1227,12 @@ static BOOL CDECL get_next_cabinet(PCCAB pccab, ULONG cbPrevCab, void *pv)
return
TRUE
;
}
static
long
CDECL
progress
(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
)
static
LONG
CDECL
progress
(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
)
{
return
0
;
}
static
int
CDECL
file_placed
(
PCCAB
pccab
,
char
*
pszFile
,
long
cbFile
,
static
int
CDECL
file_placed
(
PCCAB
pccab
,
char
*
pszFile
,
LONG
cbFile
,
BOOL
fContinuation
,
void
*
pv
)
{
return
0
;
...
...
@@ -1294,7 +1294,7 @@ static int CDECL fci_close(INT_PTR hf, int *err, void *pv)
return
0
;
}
static
long
CDECL
fci_seek
(
INT_PTR
hf
,
long
dist
,
int
seektype
,
int
*
err
,
void
*
pv
)
static
LONG
CDECL
fci_seek
(
INT_PTR
hf
,
LONG
dist
,
int
seektype
,
int
*
err
,
void
*
pv
)
{
HANDLE
handle
=
(
HANDLE
)
hf
;
DWORD
ret
;
...
...
include/fci.h
View file @
602f42c2
...
...
@@ -34,10 +34,10 @@ extern "C" {
* Common FCI/TDI declarations
*/
typedef
unsigned
long
CHECKSUM
;
typedef
ULONG
CHECKSUM
;
typedef
unsigned
long
UOFF
;
typedef
unsigned
long
COFF
;
typedef
ULONG
UOFF
;
typedef
ULONG
COFF
;
/**********************************************************************/
...
...
@@ -181,8 +181,8 @@ typedef UINT (__cdecl *PFNFCIWRITE)(INT_PTR hf, void *memory, UINT cb, int *err,
typedef
int
(
__cdecl
*
PFNFCICLOSE
)(
INT_PTR
hf
,
int
*
err
,
void
*
pv
);
#define FNFCICLOSE(fn) int __cdecl fn(INT_PTR hf, int *err, void *pv)
typedef
long
(
__cdecl
*
PFNFCISEEK
)
(
INT_PTR
hf
,
long
dist
,
int
seektype
,
int
*
err
,
void
*
pv
);
#define FNFCISEEK(fn)
long __cdecl fn(INT_PTR hf, long
dist, int seektype, int *err, void *pv)
typedef
LONG
(
__cdecl
*
PFNFCISEEK
)
(
INT_PTR
hf
,
LONG
dist
,
int
seektype
,
int
*
err
,
void
*
pv
);
#define FNFCISEEK(fn)
LONG __cdecl fn(INT_PTR hf, LONG
dist, int seektype, int *err, void *pv)
typedef
int
(
__cdecl
*
PFNFCIDELETE
)
(
char
*
pszFile
,
int
*
err
,
void
*
pv
);
#define FNFCIDELETE(fn) int __cdecl fn(char *pszFile, int *err, void *pv)
...
...
@@ -194,12 +194,12 @@ typedef BOOL (__cdecl *PFNFCIGETNEXTCABINET)(PCCAB pccab, ULONG cbPrevCab, void
typedef
int
(
__cdecl
*
PFNFCIFILEPLACED
)(
PCCAB
pccab
,
char
*
pszFile
,
long
cbFile
,
LONG
cbFile
,
BOOL
fContinuation
,
void
*
pv
);
#define FNFCIFILEPLACED(fn) int __cdecl fn(PCCAB pccab, \
char *pszFile, \
long
cbFile, \
LONG
cbFile, \
BOOL fContinuation, \
void *pv)
...
...
@@ -220,11 +220,11 @@ typedef INT_PTR (__cdecl *PFNFCIGETOPENINFO)(char *pszName,
#define statusFolder 1
/* Add Folder to Cabinet callback */
#define statusCabinet 2
/* Write out a completed cabinet callback */
typedef
long
(
__cdecl
*
PFNFCISTATUS
)(
UINT
typeStatus
,
typedef
LONG
(
__cdecl
*
PFNFCISTATUS
)(
UINT
typeStatus
,
ULONG
cb1
,
ULONG
cb2
,
void
*
pv
);
#define FNFCISTATUS(fn)
long
__cdecl fn(UINT typeStatus, \
#define FNFCISTATUS(fn)
LONG
__cdecl fn(UINT typeStatus, \
ULONG cb1, \
ULONG cb2, \
void *pv)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment