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
f508a785
Commit
f508a785
authored
Oct 21, 2003
by
Steven Edwards
Committed by
Alexandre Julliard
Oct 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Win16/32 cleanup.
- Fixes for building with the PSDK.
parent
c33e4c47
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
28 deletions
+26
-28
Makefile.in
dlls/setupapi/Makefile.in
+1
-1
infparse.c
dlls/setupapi/infparse.c
+1
-0
setupapi_private.h
dlls/setupapi/setupapi_private.h
+0
-15
setupcab.c
dlls/setupapi/setupcab.c
+4
-4
setupx16.h
dlls/setupapi/setupx16.h
+12
-0
setupapi.h
include/setupapi.h
+8
-8
No files found.
dlls/setupapi/Makefile.in
View file @
f508a785
...
...
@@ -13,7 +13,6 @@ SPEC_SRCS16 = $(ALTNAMES:.dll=.spec)
C_SRCS
=
\
devinst.c
\
dirid.c
\
infparse.c
\
install.c
\
parser.c
\
queue.c
\
...
...
@@ -22,6 +21,7 @@ C_SRCS = \
C_SRCS16
=
\
devinst16.c
\
infparse.c
\
setupx_main.c
\
virtcopy.c
...
...
dlls/setupapi/infparse.c
View file @
f508a785
...
...
@@ -36,6 +36,7 @@
#include "winuser.h"
#include "winnls.h"
#include "setupapi.h"
#include "setupx16.h"
#include "setupapi_private.h"
#include "wine/debug.h"
...
...
dlls/setupapi/setupapi_private.h
View file @
f508a785
...
...
@@ -19,9 +19,6 @@
#ifndef __SETUPAPI_PRIVATE_H
#define __SETUPAPI_PRIVATE_H
#include "wine/windef16.h"
#include "setupx16.h"
#define COPYFILEDLGORD 1000
#define SOURCESTRORD 500
#define DESTSTRORD 501
...
...
@@ -32,18 +29,6 @@
#define REGPART_RENAME "\\Rename"
#define REG_VERSIONCONFLICT "Software\\Microsoft\\VersionConflictManager"
typedef
struct
tagLDD_LIST
{
LPLOGDISKDESC
pldd
;
struct
tagLDD_LIST
*
next
;
}
LDD_LIST
;
#define INIT_LDD(ldd, LDID) \
do { \
memset(&(ldd), 0, sizeof(LOGDISKDESC_S)); \
(ldd).cbSize = sizeof(LOGDISKDESC_S); \
ldd.ldid = LDID; \
} while(0)
/* string substitutions */
struct
inf_file
;
...
...
dlls/setupapi/setupcab.c
View file @
f508a785
...
...
@@ -254,9 +254,9 @@ static long sc_cb_lseek(INT_PTR hf, long dist, int seektype)
static
INT_PTR
sc_FNNOTIFY_A
(
FDINOTIFICATIONTYPE
fdint
,
PFDINOTIFICATION
pfdin
)
{
FILE_IN_CABINET_INFOA
fici
;
FILE_IN_CABINET_INFO
_
A
fici
;
PSC_HSC_A
phsc
;
CABINET_INFOA
ci
;
CABINET_INFO
_
A
ci
;
FILEPATHS_A
fp
;
UINT
err
;
...
...
@@ -375,9 +375,9 @@ static INT_PTR sc_FNNOTIFY_A(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
static
INT_PTR
sc_FNNOTIFY_W
(
FDINOTIFICATIONTYPE
fdint
,
PFDINOTIFICATION
pfdin
)
{
FILE_IN_CABINET_INFOW
fici
;
FILE_IN_CABINET_INFO
_
W
fici
;
PSC_HSC_W
phsc
;
CABINET_INFOW
ci
;
CABINET_INFO
_
W
ci
;
FILEPATHS_W
fp
;
UINT
err
;
int
len
;
...
...
dlls/setupapi/setupx16.h
View file @
f508a785
...
...
@@ -547,4 +547,16 @@ extern RETERR16 WINAPI CtlDelLdd16(LOGDISKID16);
extern
RETERR16
WINAPI
CtlGetLddPath16
(
LOGDISKID16
ldid
,
LPSTR
szPath
);
extern
RETERR16
WINAPI
GenInstall16
(
HINF16
,
LPCSTR
,
WORD
);
typedef
struct
tagLDD_LIST
{
LPLOGDISKDESC
pldd
;
struct
tagLDD_LIST
*
next
;
}
LDD_LIST
;
#define INIT_LDD(ldd, LDID) \
do { \
memset(&(ldd), 0, sizeof(LOGDISKDESC_S)); \
(ldd).cbSize = sizeof(LOGDISKDESC_S); \
ldd.ldid = LDID; \
} while(0)
#endif
/* __SETUPX16_H */
include/setupapi.h
View file @
f508a785
...
...
@@ -155,7 +155,7 @@ typedef WINELIB_NAME_AW(SP_DEVICE_INTERFACE_DETAIL_DATA_) SP_DEVICE_INTERFACE_DE
typedef
WINELIB_NAME_AW
(
PSP_DEVICE_INTERFACE_DETAIL_DATA_
)
PSP_DEVICE_INTERFACE_DETAIL_DATA
;
#endif
typedef
struct
_FILE_IN_CABINET_INFOA
{
typedef
struct
_FILE_IN_CABINET_INFO
_
A
{
LPCSTR
NameInCabinet
;
DWORD
FileSize
;
DWORD
Win32Error
;
...
...
@@ -163,9 +163,9 @@ typedef struct _FILE_IN_CABINET_INFOA {
WORD
DosTime
;
WORD
DosAttribs
;
CHAR
FullTargetName
[
MAX_PATH
];
}
FILE_IN_CABINET_INFO
A
,
*
PFILE_IN_CABINET_INFO
A
;
}
FILE_IN_CABINET_INFO
_A
,
*
PFILE_IN_CABINET_INFO_
A
;
typedef
struct
_FILE_IN_CABINET_INFOW
{
typedef
struct
_FILE_IN_CABINET_INFO
_
W
{
LPCWSTR
NameInCabinet
;
DWORD
FileSize
;
DWORD
Win32Error
;
...
...
@@ -173,26 +173,26 @@ typedef struct _FILE_IN_CABINET_INFOW {
WORD
DosTime
;
WORD
DosAttribs
;
WCHAR
FullTargetName
[
MAX_PATH
];
}
FILE_IN_CABINET_INFO
W
,
*
PFILE_IN_CABINET_INFO
W
;
}
FILE_IN_CABINET_INFO
_W
,
*
PFILE_IN_CABINET_INFO_
W
;
DECL_WINELIB_TYPE_AW
(
FILE_IN_CABINET_INFO
)
DECL_WINELIB_TYPE_AW
(
PFILE_IN_CABINET_INFO
)
typedef
struct
_CABINET_INFOA
{
typedef
struct
_CABINET_INFO
_
A
{
PCSTR
CabinetPath
;
PCSTR
CabinetFile
;
PCSTR
DiskName
;
USHORT
SetId
;
USHORT
CabinetNumber
;
}
CABINET_INFO
A
,
*
PCABINET_INFO
A
;
}
CABINET_INFO
_A
,
*
PCABINET_INFO_
A
;
typedef
struct
_CABINET_INFOW
{
typedef
struct
_CABINET_INFO
_
W
{
PCWSTR
CabinetPath
;
PCWSTR
CabinetFile
;
PCWSTR
DiskName
;
USHORT
SetId
;
USHORT
CabinetNumber
;
}
CABINET_INFO
W
,
*
PCABINET_INFO
W
;
}
CABINET_INFO
_W
,
*
PCABINET_INFO_
W
;
DECL_WINELIB_TYPE_AW
(
CABINET_INFO
);
DECL_WINELIB_TYPE_AW
(
PCABINET_INFO
);
...
...
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