Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
66f6b786
Commit
66f6b786
authored
Oct 01, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Make setupx.dll into a stand-alone 16-bit module.
parent
b70bbe3d
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
63 additions
and
38 deletions
+63
-38
.gitignore
.gitignore
+0
-1
configure
configure
+9
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/Makefile.in
+0
-4
Makefile.in
dlls/setupapi/Makefile.in
+0
-8
stubs.c
dlls/setupapi/stubs.c
+0
-19
Makefile.in
dlls/setupx.dll16/Makefile.in
+18
-0
devinst16.c
dlls/setupx.dll16/devinst16.c
+0
-0
infparse.c
dlls/setupx.dll16/infparse.c
+0
-1
setupx.dll16.spec
dlls/setupx.dll16/setupx.dll16.spec
+0
-0
setupx16.h
dlls/setupx.dll16/setupx16.h
+0
-0
setupx_main.c
dlls/setupx.dll16/setupx_main.c
+18
-1
virtcopy.c
dlls/setupx.dll16/virtcopy.c
+17
-4
No files found.
.gitignore
View file @
66f6b786
...
...
@@ -115,7 +115,6 @@ dlls/rpcrt4/epm_c.c
dlls/rpcrt4/tests/server.h
dlls/rpcrt4/tests/server_c.c
dlls/rpcrt4/tests/server_s.c
dlls/setupx.dll16
dlls/shdocvw/shdocvw_v1.tlb
dlls/stdole2.tlb/std_ole_v2.tlb
dlls/stdole32.tlb/std_ole_v1.tlb
...
...
configure
View file @
66f6b786
...
...
@@ -16444,6 +16444,14 @@ dlls/setupapi/tests/Makefile: dlls/setupapi/tests/Makefile.in dlls/Maketest.rule
ac_config_files
=
"
$ac_config_files
dlls/setupapi/tests/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/setupx.dll16/Makefile"
test
"x
$enable_win16
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
setupx.dll16"
ALL_MAKEFILE_DEPENDS
=
"
$ALL_MAKEFILE_DEPENDS
dlls/setupx.dll16/Makefile: dlls/setupx.dll16/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/setupx.dll16/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/sfc/Makefile"
test
"x
$enable_sfc
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
sfc"
...
...
@@ -19068,6 +19076,7 @@ do
"dlls/serialui/tests/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/serialui/tests/Makefile" ;;
"dlls/setupapi/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/setupapi/Makefile" ;;
"dlls/setupapi/tests/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/setupapi/tests/Makefile" ;;
"dlls/setupx.dll16/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/setupx.dll16/Makefile" ;;
"dlls/sfc/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/sfc/Makefile" ;;
"dlls/sfc_os/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/sfc_os/Makefile" ;;
"dlls/shdoclc/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/shdoclc/Makefile" ;;
...
...
configure.ac
View file @
66f6b786
...
...
@@ -2418,6 +2418,7 @@ WINE_CONFIG_MAKEFILE([dlls/serialui/Makefile],[dlls/Makedll.rules],[dlls],[ALL_D
WINE_CONFIG_MAKEFILE([dlls/serialui/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
WINE_CONFIG_MAKEFILE([dlls/setupapi/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/setupapi/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
WINE_CONFIG_MAKEFILE([dlls/setupx.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
WINE_CONFIG_MAKEFILE([dlls/sfc/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/sfc_os/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/shdoclc/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
...
...
dlls/Makefile.in
View file @
66f6b786
...
...
@@ -22,7 +22,6 @@ WIN16_FILES = \
gdi.exe16
\
krnl386.exe16
\
mmsystem.dll16
\
setupx.dll16
\
user.exe16
\
wprocs.dll16
...
...
@@ -43,9 +42,6 @@ gdi.exe16:
krnl386.exe16
:
echo
"kernel32.dll"
>
$@
setupx.dll16
:
echo
"setupapi.dll"
>
$@
user.exe16
:
echo
"user32.dll"
>
$@
...
...
dlls/setupapi/Makefile.in
View file @
66f6b786
...
...
@@ -23,14 +23,6 @@ C_SRCS = \
stringtable.c
\
stubs.c
C_SRCS16
=
\
devinst16.c
\
infparse.c
\
setupx_main.c
\
virtcopy.c
SPEC_SRCS16
=
setupx.spec
RC_SRCS
=
\
Bg.rc
\
Cs.rc
\
...
...
dlls/setupapi/stubs.c
View file @
66f6b786
...
...
@@ -33,25 +33,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
setupapi
);
/***********************************************************************
* TPWriteProfileString (SETUPX.62)
*/
BOOL
WINAPI
TPWriteProfileString16
(
LPCSTR
section
,
LPCSTR
entry
,
LPCSTR
string
)
{
FIXME
(
"%s %s %s: stub
\n
"
,
debugstr_a
(
section
),
debugstr_a
(
entry
),
debugstr_a
(
string
)
);
return
TRUE
;
}
/***********************************************************************
* suErrorToIds (SETUPX.61)
*/
DWORD
WINAPI
suErrorToIds16
(
WORD
w1
,
WORD
w2
)
{
FIXME
(
"%x %x: stub
\n
"
,
w1
,
w2
);
return
0
;
}
/***********************************************************************
* CM_Connect_MachineA (SETUPAPI.@)
*/
CONFIGRET
WINAPI
CM_Connect_MachineA
(
PCSTR
name
,
PHMACHINE
machine
)
...
...
dlls/setupx.dll16/Makefile.in
0 → 100644
View file @
66f6b786
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
setupx.dll16
IMPORTS
=
setupapi user32 advapi32 kernel32
EXTRADLLFLAGS
=
-Wb
,--subsystem,win16,--main-module,setupapi.dll
C_SRCS
=
\
devinst16.c
\
infparse.c
\
setupx_main.c
\
virtcopy.c
@MAKE_DLL_RULES@
@DEPENDENCIES@
# everything below this line is overwritten by make depend
dlls/setup
api
/devinst16.c
→
dlls/setup
x.dll16
/devinst16.c
View file @
66f6b786
File moved
dlls/setup
api
/infparse.c
→
dlls/setup
x.dll16
/infparse.c
View file @
66f6b786
...
...
@@ -38,7 +38,6 @@
#include "winnls.h"
#include "setupapi.h"
#include "setupx16.h"
#include "setupapi_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
setupapi
);
...
...
dlls/setup
api/setupx
.spec
→
dlls/setup
x.dll16/setupx.dll16
.spec
View file @
66f6b786
File moved
dlls/setup
api
/setupx16.h
→
dlls/setup
x.dll16
/setupx16.h
View file @
66f6b786
File moved
dlls/setup
api
/setupx_main.c
→
dlls/setup
x.dll16
/setupx_main.c
View file @
66f6b786
...
...
@@ -66,7 +66,6 @@
#include "winnls.h"
#include "setupapi.h"
#include "setupx16.h"
#include "setupapi_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
setupapi
);
...
...
@@ -95,6 +94,24 @@ DWORD WINAPI SURegQueryValueEx( HKEY hkey, LPSTR lpszValueName,
lpbData
,
lpcbData
);
}
/***********************************************************************
* TPWriteProfileString (SETUPX.62)
*/
BOOL
WINAPI
TPWriteProfileString16
(
LPCSTR
section
,
LPCSTR
entry
,
LPCSTR
string
)
{
FIXME
(
"%s %s %s: stub
\n
"
,
debugstr_a
(
section
),
debugstr_a
(
entry
),
debugstr_a
(
string
)
);
return
TRUE
;
}
/***********************************************************************
* suErrorToIds (SETUPX.61)
*/
DWORD
WINAPI
suErrorToIds16
(
WORD
w1
,
WORD
w2
)
{
FIXME
(
"%x %x: stub
\n
"
,
w1
,
w2
);
return
0
;
}
/***********************************************************************
* InstallHinfSection (SETUPX.527)
...
...
dlls/setup
api
/virtcopy.c
→
dlls/setup
x.dll16
/virtcopy.c
View file @
66f6b786
...
...
@@ -31,11 +31,20 @@
#include "winnls.h"
#include "setupapi.h"
#include "setupx16.h"
#include "setupapi_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
setupapi
);
/* copied from setupapi */
#define COPYFILEDLGORD 1000
#define SOURCESTRORD 500
#define DESTSTRORD 501
#define PROGRESSORD 502
#define REG_INSTALLEDFILES "System\\CurrentControlSet\\Control\\InstalledFiles"
#define REGPART_RENAME "\\Rename"
#define REG_VERSIONCONFLICT "Software\\Microsoft\\VersionConflictManager"
static
FARPROC16
VCP_Proc
=
NULL
;
static
LPARAM
VCP_MsgRef
=
0
;
...
...
@@ -43,6 +52,8 @@ static BOOL VCP_opened = FALSE;
static
VCPSTATUS
vcp_status
;
static
HMODULE
SETUPAPI_hInstance
;
static
WORD
VCP_Callback
(
LPVOID
obj
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
,
LPARAM
lParamRef
)
{
WORD
args
[
8
];
...
...
@@ -214,10 +225,10 @@ static RETERR16 VCP_VirtnodeCreate(const VCPFILESPEC *vfsSrc, const VCPFILESPEC
vn_num
+=
20
;
if
(
pvnlist
)
pvnlist
=
HeapReAlloc
(
heap
,
HEAP_ZERO_MEMORY
,
pvnlist
,
sizeof
(
LPVIRTNODE
*
)
*
vn_num
);
sizeof
(
LPVIRTNODE
*
)
*
vn_num
);
else
pvnlist
=
HeapAlloc
(
heap
,
HEAP_ZERO_MEMORY
,
sizeof
(
LPVIRTNODE
*
)
*
vn_num
);
pvnlist
=
HeapAlloc
(
heap
,
HEAP_ZERO_MEMORY
,
sizeof
(
LPVIRTNODE
*
)
*
vn_num
);
}
pvnlist
[
vn_last
]
=
HeapAlloc
(
heap
,
HEAP_ZERO_MEMORY
,
sizeof
(
VIRTNODE
));
lpvn
=
pvnlist
[
vn_last
];
...
...
@@ -584,6 +595,8 @@ static void VCP_UI_RegisterProgressClass(void)
wndClass
.
lpszClassName
=
"setupx_progress"
;
RegisterClassA
(
&
wndClass
);
SETUPAPI_hInstance
=
LoadLibraryA
(
"setupapi.dll"
);
}
static
RETERR16
VCP_UI_NodeCompare
(
LPVIRTNODE
vn1
,
LPVIRTNODE
vn2
)
...
...
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