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
fca4a8f8
Commit
fca4a8f8
authored
Aug 27, 2003
by
Gregory M. Turner
Committed by
Alexandre Julliard
Aug 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement (most of) SetupIterateCabinet.
parent
61cb7045
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
50 additions
and
24 deletions
+50
-24
Makefile.in
dlls/setupapi/Makefile.in
+1
-0
setupapi_private.h
dlls/setupapi/setupapi_private.h
+4
-0
setupcab.c
dlls/setupapi/setupcab.c
+0
-0
setupx_main.c
dlls/setupapi/setupx_main.c
+0
-1
stubs.c
dlls/setupapi/stubs.c
+0
-22
setupapi.h
include/setupapi.h
+45
-1
No files found.
dlls/setupapi/Makefile.in
View file @
fca4a8f8
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
install.c
\
parser.c
\
queue.c
\
setupcab.c
\
stubs.c
C_SRCS16
=
\
...
...
dlls/setupapi/setupapi_private.h
View file @
fca4a8f8
...
...
@@ -64,4 +64,8 @@ struct callback_WtoA_context
UINT
CALLBACK
QUEUE_callback_WtoA
(
void
*
context
,
UINT
notification
,
UINT_PTR
,
UINT_PTR
);
/* from msvcrt/sys/stat.h */
#define _S_IWRITE 0x0080
#define _S_IREAD 0x0100
#endif
/* __SETUPAPI_PRIVATE_H */
dlls/setupapi/setupcab.c
0 → 100644
View file @
fca4a8f8
This diff is collapsed.
Click to expand it.
dlls/setupapi/setupx_main.c
View file @
fca4a8f8
...
...
@@ -70,7 +70,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
setupapi
);
/***********************************************************************
* SURegOpenKey (SETUPX.47)
*/
...
...
dlls/setupapi/stubs.c
View file @
fca4a8f8
...
...
@@ -24,28 +24,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
setupapi
);
/***********************************************************************
* SetupIterateCabinetA (SETUPAPI.@)
*/
BOOL
WINAPI
SetupIterateCabinetA
(
PCSTR
CabinetFile
,
DWORD
Reserved
,
PSP_FILE_CALLBACK_A
MsgHandler
,
PVOID
Context
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
0
;
}
/***********************************************************************
* SetupIterateCabinetW (SETUPAPI.@)
*/
BOOL
WINAPI
SetupIterateCabinetW
(
PWSTR
CabinetFile
,
DWORD
Reserved
,
PSP_FILE_CALLBACK_W
MsgHandler
,
PVOID
Context
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
0
;
}
/***********************************************************************
* TPWriteProfileString (SETUPX.62)
*/
...
...
include/setupapi.h
View file @
fca4a8f8
...
...
@@ -153,6 +153,48 @@ typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATAW
DECL_WINELIB_TYPE_AW
(
SP_DEVICE_INTERFACE_DETAIL_DATA
)
DECL_WINELIB_TYPE_AW
(
PSP_DEVICE_INTERFACE_DETAIL_DATA
)
typedef
struct
_FILE_IN_CABINET_INFOA
{
LPCSTR
NameInCabinet
;
DWORD
FileSize
;
DWORD
Win32Error
;
WORD
DosDate
;
WORD
DosTime
;
WORD
DosAttribs
;
CHAR
FullTargetName
[
MAX_PATH
];
}
FILE_IN_CABINET_INFOA
,
*
PFILE_IN_CABINET_INFOA
;
typedef
struct
_FILE_IN_CABINET_INFOW
{
LPCWSTR
NameInCabinet
;
DWORD
FileSize
;
DWORD
Win32Error
;
WORD
DosDate
;
WORD
DosTime
;
WORD
DosAttribs
;
WCHAR
FullTargetName
[
MAX_PATH
];
}
FILE_IN_CABINET_INFOW
,
*
PFILE_IN_CABINET_INFOW
;
DECL_WINELIB_TYPE_AW
(
FILE_IN_CABINET_INFO
)
DECL_WINELIB_TYPE_AW
(
PFILE_IN_CABINET_INFO
)
typedef
struct
_CABINET_INFOA
{
PCSTR
CabinetPath
;
PCSTR
CabinetFile
;
PCSTR
DiskName
;
USHORT
SetId
;
USHORT
CabinetNumber
;
}
CABINET_INFOA
,
*
PCABINET_INFOA
;
typedef
struct
_CABINET_INFOW
{
PCWSTR
CabinetPath
;
PCWSTR
CabinetFile
;
PCWSTR
DiskName
;
USHORT
SetId
;
USHORT
CabinetNumber
;
}
CABINET_INFOW
,
*
PCABINET_INFOW
;
DECL_WINELIB_TYPE_AW
(
CABINET_INFO
);
DECL_WINELIB_TYPE_AW
(
PCABINET_INFO
);
#define INF_STYLE_NONE 0x00
#define INF_STYLE_OLDNT 0x01
#define INF_STYLE_WIN4 0x02
...
...
@@ -542,6 +584,8 @@ BOOL WINAPI SetupInstallFromInfSectionA(HWND,HINF,PCSTR,UINT,HKEY,PCSTR,UINT
BOOL
WINAPI
SetupInstallFromInfSectionW
(
HWND
,
HINF
,
PCWSTR
,
UINT
,
HKEY
,
PCWSTR
,
UINT
,
PSP_FILE_CALLBACK_W
,
PVOID
,
HDEVINFO
,
PSP_DEVINFO_DATA
);
#define SetupInstallFromInfSection WINELIB_NAME_AW(SetupInstallFromInfSection)
BOOL
WINAPI
SetupIterateCabinetA
(
PCSTR
,
DWORD
,
PSP_FILE_CALLBACK_A
,
PVOID
);
BOOL
WINAPI
SetupIterateCabinetW
(
PCWSTR
,
DWORD
,
PSP_FILE_CALLBACK_W
,
PVOID
);
#define SetupIterateCabinet WINELIB_NAME_AW(SetupIterateCabinet)
#endif
/* _INC_SETUPAPI */
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