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
a3a3d6c2
Commit
a3a3d6c2
authored
Oct 23, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Oct 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove unused function pointer and definitions.
parent
a93763ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
45 deletions
+0
-45
install.c
dlls/msi/tests/install.c
+0
-45
No files found.
dlls/msi/tests/install.c
View file @
a3a3d6c2
...
...
@@ -177,35 +177,6 @@ static const msi_table tables[] =
#define MEDIA_SIZE 999999999
#define FOLDER_THRESHOLD 900000
/* The following defintions were copied from dlls/cabinet/cabinet.h
* because they are undocumented in windows.
*/
/* EXTRACTdest flags */
#define EXTRACT_FILLFILELIST 0x00000001
#define EXTRACT_EXTRACTFILES 0x00000002
struct
ExtractFileList
{
LPSTR
filename
;
struct
ExtractFileList
*
next
;
BOOL
unknown
;
/* always 1L */
};
/* the first parameter of the function extract */
typedef
struct
{
long
result1
;
/* 0x000 */
long
unknown1
[
3
];
/* 0x004 */
struct
ExtractFileList
*
filelist
;
/* 0x010 */
long
filecount
;
/* 0x014 */
long
flags
;
/* 0x018 */
char
directory
[
0x104
];
/* 0x01c */
char
lastfile
[
0x20c
];
/* 0x120 */
}
EXTRACTDEST
;
/* cabinet function pointers */
HMODULE
hCabinet
;
static
HRESULT
(
WINAPI
*
pExtract
)(
EXTRACTDEST
*
,
LPCSTR
);
/* the FCI callbacks */
static
void
*
mem_alloc
(
ULONG
cb
)
...
...
@@ -418,19 +389,6 @@ static void create_cab_file(const CHAR *name)
ok
(
res
,
"Failed to destroy the cabinet
\n
"
);
}
static
BOOL
init_function_pointers
(
void
)
{
hCabinet
=
LoadLibraryA
(
"cabinet.dll"
);
if
(
!
hCabinet
)
return
FALSE
;
pExtract
=
(
void
*
)
GetProcAddress
(
hCabinet
,
"Extract"
);
if
(
!
pExtract
)
return
FALSE
;
return
TRUE
;
}
static
BOOL
get_program_files_dir
(
LPSTR
buf
)
{
HKEY
hkey
;
...
...
@@ -750,9 +708,6 @@ START_TEST(install)
{
DWORD
len
;
if
(
!
init_function_pointers
())
return
;
GetCurrentDirectoryA
(
MAX_PATH
,
CURR_DIR
);
len
=
lstrlenA
(
CURR_DIR
);
...
...
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