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
c85144b0
Commit
c85144b0
authored
Jan 17, 2001
by
James Juran
Committed by
Alexandre Julliard
Jan 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some stubs needed for IE 5.5 setup.
parent
8dad1d8e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
117 additions
and
21 deletions
+117
-21
setupapi.spec
dlls/setupapi/setupapi.spec
+9
-9
stubs.c
dlls/setupapi/stubs.c
+95
-11
setupapi.h
include/setupapi.h
+13
-1
No files found.
dlls/setupapi/setupapi.spec
View file @
c85144b0
...
...
@@ -20,10 +20,10 @@ debug_channels (setupapi setupx)
# 53 stdcall SetupAdjustDiskSpaceListA() SetupAdjustDiskSpaceListA
# 54 stdcall SetupAdjustDiskSpaceListW() SetupAdjustDiskSpaceListW
# 55 stdcall SetupCancelTemporarySourceList() SetupCancelTemporarySourceList
# 56 stdcall SetupCloseFileQueue()
SetupCloseFileQueue
56 stdcall SetupCloseFileQueue(ptr)
SetupCloseFileQueue
57 stdcall SetupCloseInfFile(long) SetupCloseInfFile
# 58 stdcall SetupCommitFileQueue() SetupCommitFileQueue
# 59 stdcall SetupCommitFileQueueA()
SetupCommitFileQueueA
59 stdcall SetupCommitFileQueueA(ptr ptr ptr ptr)
SetupCommitFileQueueA
# 60 stdcall SetupCommitFileQueueW() SetupCommitFileQueueW
# 61 stdcall SetupCopyErrorA() SetupCopyErrorA
# 62 stdcall SetupCopyErrorW() SetupCopyErrorW
...
...
@@ -137,7 +137,7 @@ debug_channels (setupapi setupx)
#170 stdcall SetupGetInfInformationA() SetupGetInfInformationA
#171 stdcall SetupGetInfInformationW() SetupGetInfInformationW
#172 stdcall SetupGetIntField() SetupGetIntField
#173 stdcall SetupGetLineByIndexA()
SetupGetLineByIndexA
173 stdcall SetupGetLineByIndexA(ptr str long ptr)
SetupGetLineByIndexA
#174 stdcall SetupGetLineByIndexW() SetupGetLineByIndexW
#175 stdcall SetupGetLineCountA() SetupGetLineCountA
#176 stdcall SetupGetLineCountW() SetupGetLineCountW
...
...
@@ -156,7 +156,7 @@ debug_channels (setupapi setupx)
#189 stdcall SetupGetTargetPathA() SetupGetTargetPathA
#190 stdcall SetupGetTargetPathW() SetupGetTargetPathW
191 stdcall SetupInitDefaultQueueCallback(long) SetupInitDefaultQueueCallback
#192 stdcall SetupInitDefaultQueueCallbackEx()
SetupInitDefaultQueueCallbackEx
192 stdcall SetupInitDefaultQueueCallbackEx(long long long long ptr)
SetupInitDefaultQueueCallbackEx
#193 stdcall SetupInitializeFileLogA() SetupInitializeFileLogA
#194 stdcall SetupInitializeFileLogW() SetupInitializeFileLogW
#195 stdcall SetupInstallFileA() SetupInstallFileA
...
...
@@ -173,9 +173,9 @@ debug_channels (setupapi setupx)
206 stdcall SetupIterateCabinetW(wstr long ptr ptr) SetupIterateCabinetW
#207 stdcall SetupLogFileA() SetupLogFileA
#208 stdcall SetupLogFileW() SetupLogFileW
#209 stdcall SetupOpenAppendInfFileA()
SetupOpenAppendInfFileA
209 stdcall SetupOpenAppendInfFileA(str ptr ptr)
SetupOpenAppendInfFileA
#210 stdcall SetupOpenAppendInfFileW() SetupOpenAppendInfFileW
#211 stdcall SetupOpenFileQueue()
SetupOpenFileQueue
211 stdcall SetupOpenFileQueue()
SetupOpenFileQueue
212 stdcall SetupOpenInfFileA(ptr ptr long ptr) SetupOpenInfFileA
#213 stdcall SetupOpenInfFileW() SetupOpenInfFileW
#214 stdcall SetupOpenMasterInf() SetupOpenMasterInf
...
...
@@ -194,7 +194,7 @@ debug_channels (setupapi setupx)
#227 stdcall SetupQuerySourceListW() SetupQuerySourceListW
#228 stdcall SetupQuerySpaceRequiredOnDriveA() SetupQuerySpaceRequiredOnDriveA
#229 stdcall SetupQuerySpaceRequiredOnDriveW() SetupQuerySpaceRequiredOnDriveW
#230 stdcall SetupQueueCopyA()
SetupQueueCopyA
230 stdcall SetupQueueCopyA(ptr str str str str str str str long)
SetupQueueCopyA
#231 stdcall SetupQueueCopySectionA() SetupQueueCopySectionA
#232 stdcall SetupQueueCopySectionW() SetupQueueCopySectionW
#233 stdcall SetupQueueCopyW() SetupQueueCopyW
...
...
@@ -223,7 +223,7 @@ debug_channels (setupapi setupx)
#256 stdcall SetupScanFileQueue() SetupScanFileQueue
#257 stdcall SetupScanFileQueueA() SetupScanFileQueueA
#258 stdcall SetupScanFileQueueW() SetupScanFileQueueW
#
259 stdcall SetupSetDirectoryIdA(long long str) SetupSetDirectoryIdA
259 stdcall SetupSetDirectoryIdA(long long str) SetupSetDirectoryIdA
#260 stdcall SetupSetDirectoryIdExA(long long str long long ptr) SetupSetDirectoryIdExA
#261 stdcall SetupSetDirectoryIdExW(long long wstr long long ptr) SetupSetDirectoryIdExW
#262 stdcall SetupSetDirectoryIdW(long long wstr) SetupSetDirectoryIdW
...
...
@@ -231,5 +231,5 @@ debug_channels (setupapi setupx)
#264 stdcall SetupSetPlatformPathOverrideW(wstr) SetupSetPlatformPathOverrideW
#265 stdcall SetupSetSourceListA(long str long) SetupSetSourceListA
#266 stdcall SetupSetSourceListW(long wstr long) SetupSetSourceListW
#
267 stdcall SetupTermDefaultQueueCallback(ptr) SetupTermDefaultQueueCallback
267 stdcall SetupTermDefaultQueueCallback(ptr) SetupTermDefaultQueueCallback
#268 stdcall SetupTerminateFileLog(ptr) SetupTerminateFileLog
dlls/setupapi/stubs.c
View file @
c85144b0
/* -*- tab-width: 8; c-basic-offset: 8 -*- */
/*
* SetupAPI stubs
*
...
...
@@ -7,15 +8,27 @@
#include "windef.h"
#include "setupapi.h"
DEFAULT_DEBUG_CHANNEL
(
setupapi
);
typedef
UINT
(
CALLBACK
*
PSP_FILE_CALLBACK_A
)(
PVOID
Context
,
UINT
Notification
,
UINT
Param1
,
UINT
Param2
);
/***********************************************************************
* SetupCloseFileQueue
*/
VOID
WINAPI
SetupCloseFileQueue
(
HSPFILEQ
QueueHandle
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
}
typedef
UINT
(
CALLBACK
*
PSP_FILE_CALLBACK_W
)(
PVOID
Context
,
UINT
Notification
,
UINT
Param1
,
UINT
Param2
);
/***********************************************************************
* SetupCommitFileQueueA
*/
BOOL
WINAPI
SetupCommitFileQueueA
(
HWND
Owner
,
HSPFILEQ
QueueHandle
,
PSP_FILE_CALLBACK_A
MsgHandler
,
PVOID
Context
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
FALSE
;
}
/***********************************************************************
* SetupIterateCabinetA
...
...
@@ -39,6 +52,17 @@ BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved,
/***********************************************************************
* SetupGetLineTextA
*/
BOOL
WINAPI
SetupGetLineTextA
(
PINFCONTEXT
Context
,
HINF
InfHandle
,
PCSTR
Section
,
PCSTR
Key
,
LPSTR
ReturnBuffer
,
DWORD
ReturnBufferSize
,
PDWORD
RequiredSize
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
0
;
}
/***********************************************************************
* SetupGetStringFieldA
*/
BOOL
WINAPI
SetupGetStringFieldA
(
PINFCONTEXT
Context
,
DWORD
FieldIndex
,
...
...
@@ -69,19 +93,19 @@ PVOID WINAPI SetupInitDefaultQueueCallback(HWND OwnerWindow)
return
0
;
}
/***********************************************************************
* Setup
GetLineTextA
* Setup
InitDefaultQueueCallbackEx
*/
BOOL
WINAPI
SetupGetLineTextA
(
PINFCONTEXT
Context
,
HINF
InfHandle
,
PCSTR
Section
,
PCSTR
Key
,
LPSTR
ReturnBuffer
,
DWORD
ReturnBufferSize
,
PDWORD
RequiredSize
)
PVOID
WINAPI
SetupInitDefaultQueueCallbackEx
(
HWND
OwnerWindow
,
HWND
AlternativeProgressWindow
,
UINT
ProgressMessage
,
DWORD
res1
,
PVOID
res2
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
0
;
}
/***********************************************************************
* SetupCloseInfFile
*/
...
...
@@ -112,6 +136,16 @@ BOOL WINAPI SetupFindFirstLineA (HINF InfHandle, PCSTR Section, PCSTR Key,
return
0
;
}
/***********************************************************************
* SetupGetLineByIndexA
*/
BOOL
WINAPI
SetupGetLineByIndexA
(
HINF
InfHandle
,
PCSTR
Section
,
DWORD
Index
,
PINFCONTEXT
Context
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
FALSE
;
}
/***********************************************************************
* SetupInstallFromInfSectionA
...
...
@@ -126,6 +160,24 @@ BOOL WINAPI SetupInstallFromInfSectionA (HWND Owner, HINF InfHandle, PCSTR Secti
return
0
;
}
/***********************************************************************
* SetupOpenAppendInfFileA
*/
BOOL
WINAPI
SetupOpenAppendInfFileA
(
PCSTR
FileName
,
HINF
InfHandle
,
PUINT
ErrorLine
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
FALSE
;
}
/***********************************************************************
* SetupOpenFileQueue
*/
HSPFILEQ
WINAPI
SetupOpenFileQueue
(
VOID
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
(
HSPFILEQ
)
INVALID_HANDLE_VALUE
;
}
/***********************************************************************
* SetupOpenInfFileA
...
...
@@ -136,3 +188,35 @@ HINF WINAPI SetupOpenInfFileA (PCSTR FileName, PCSTR InfClass, DWORD InfStyle,
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
0
;
}
/***********************************************************************
* SetupQueueCopyA
*/
BOOL
WINAPI
SetupQueueCopyA
(
HSPFILEQ
QueueHandle
,
PCSTR
SourceRootPath
,
PCSTR
SourcePath
,
PCSTR
SourceFileName
,
PCSTR
SourceDescription
,
PCSTR
SourceTagFile
,
PCSTR
TargetDirectory
,
PCSTR
TargetFileName
,
DWORD
CopyStyle
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
FALSE
;
}
/***********************************************************************
* SetupSetDirectoryIdA
*/
BOOL
WINAPI
SetupSetDirectoryIdA
(
HINF
InfHandle
,
DWORD
Id
,
PCSTR
Directory
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
return
FALSE
;
}
/***********************************************************************
* SetupTermDefaultQueueCallback
*/
VOID
WINAPI
SetupTermDefaultQueueCallback
(
PVOID
Callback
)
{
FIXME
(
"not implemented (setupapi.dll)
\n
"
);
}
include/setupapi.h
View file @
c85144b0
...
...
@@ -6,12 +6,17 @@
#ifndef __SETUPAPI__
#define __SETUPAPI__
#include "commctrl.h"
/* Define type for handle to a loaded inf file */
typedef
PVOID
HINF
;
/* Define type for handle to a device information set */
typedef
PVOID
HDEVINFO
;
/* Define type for setup file queue */
typedef
PVOID
HSPFILEQ
;
/* inf structure. */
typedef
struct
_INFCONTEXT
{
...
...
@@ -21,6 +26,13 @@ typedef struct _INFCONTEXT
UINT
Line
;
}
INFCONTEXT
,
*
PINFCONTEXT
;
typedef
UINT
(
CALLBACK
*
PSP_FILE_CALLBACK_A
)(
PVOID
Context
,
UINT
Notification
,
UINT
Param1
,
UINT
Param2
);
typedef
UINT
(
CALLBACK
*
PSP_FILE_CALLBACK_W
)(
PVOID
Context
,
UINT
Notification
,
UINT
Param1
,
UINT
Param2
);
#define PSP_FILE_CALLBACK WINELIB_NAME_AW(PSP_FILE_CALLBACK_)
/* Device Information structure (references a device instance that is a member
of a device information set) */
typedef
struct
_SP_DEVINFO_DATA
...
...
@@ -31,4 +43,4 @@ typedef struct _SP_DEVINFO_DATA
DWORD
Reserved
;
}
SP_DEVINFO_DATA
,
*
PSP_DEVINFO_DATA
;
#endif
#endif
/* __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