Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
a8693258
Commit
a8693258
authored
22 years ago
by
Michael McCormack
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Stub implementations of some functions.
parent
922a5e46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/setupapi/devinst.c
+84
-0
84 additions, 0 deletions
dlls/setupapi/devinst.c
dlls/setupapi/setupapi.spec
+8
-4
8 additions, 4 deletions
dlls/setupapi/setupapi.spec
include/setupapi.h
+23
-0
23 additions, 0 deletions
include/setupapi.h
with
115 additions
and
4 deletions
dlls/setupapi/devinst.c
+
84
−
0
View file @
a8693258
...
...
@@ -22,6 +22,7 @@
#include
"winbase.h"
#include
"setupx16.h"
#include
"wine/debug.h"
#include
"setupapi.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
setupapi
);
...
...
@@ -42,3 +43,86 @@ RETERR16 WINAPI DiGetClassDevs16(LPLPDEVICE_INFO16 lplpdi,
*
lplpdi
=
lpdi
;
return
OK
;
}
BOOL
WINAPI
SetupDiGetDeviceInterfaceDetailA
(
HDEVINFO
DeviceInfoSet
,
PSP_DEVICE_INTERFACE_DATA
DeviceInterfaceData
,
PSP_DEVICE_INTERFACE_DETAIL_DATAA
DeviceInterfaceDetailData
,
DWORD
DeviceInterfaceDetailDataSize
,
PDWORD
RequiredSize
,
PSP_DEVINFO_DATA
DeviceInfoData
)
{
FIXME
(
"
\n
"
);
return
FALSE
;
}
BOOL
WINAPI
SetupDiGetDeviceInterfaceDetailW
(
HDEVINFO
DeviceInfoSet
,
PSP_DEVICE_INTERFACE_DATA
DeviceInterfaceData
,
PSP_DEVICE_INTERFACE_DETAIL_DATAW
DeviceInterfaceDetailData
,
DWORD
DeviceInterfaceDetailDataSize
,
PDWORD
RequiredSize
,
PSP_DEVINFO_DATA
DeviceInfoData
)
{
FIXME
(
"
\n
"
);
return
FALSE
;
}
BOOL
WINAPI
SetupDiEnumDeviceInterfaces
(
HDEVINFO
DeviceInfoSet
,
PSP_DEVINFO_DATA
DeviceInfoData
,
CONST
GUID
*
InterfaceClassGuid
,
DWORD
MemberIndex
,
PSP_DEVICE_INTERFACE_DATA
DeviceInterfaceData
)
{
FIXME
(
"
\n
"
);
return
FALSE
;
}
HDEVINFO
WINAPI
SetupDiGetClassDevsA
(
CONST
GUID
*
class
,
LPCSTR
enumstr
,
HWND
parent
,
DWORD
flags
)
{
FIXME
(
"%s %s %04x %08lx
\n
"
,
debugstr_guid
(
class
),
enumstr
,
parent
,
flags
);
return
NULL
;
}
BOOL
WINAPI
SetupDiEnumDeviceInfo
(
HDEVINFO
devinfo
,
DWORD
index
,
PSP_DEVINFO_DATA
info
)
{
FIXME
(
"%p %ld %p
\n
"
,
devinfo
,
index
,
info
);
if
(
info
==
NULL
)
return
FALSE
;
if
(
info
->
cbSize
<
sizeof
*
info
)
return
FALSE
;
return
FALSE
;
}
BOOL
WINAPI
SetupDiDestroyDeviceInfoList
(
HDEVINFO
devinfo
)
{
FIXME
(
"%04lx
\n
"
,
(
DWORD
)
devinfo
);
return
FALSE
;
}
BOOL
WINAPI
SetupDiGetDeviceRegistryPropertyA
(
HDEVINFO
devinfo
,
PSP_DEVINFO_DATA
DeviceInfoData
,
DWORD
Property
,
PDWORD
PropertyRegDataType
,
PBYTE
PropertyBuffer
,
DWORD
PropertyBufferSize
,
PDWORD
RequiredSize
)
{
FIXME
(
"%04lx %p %ld %p %p %ld %p
\n
"
,
(
DWORD
)
devinfo
,
DeviceInfoData
,
Property
,
PropertyRegDataType
,
PropertyBuffer
,
PropertyBufferSize
,
RequiredSize
);
return
FALSE
;
}
This diff is collapsed.
Click to expand it.
dlls/setupapi/setupapi.spec
+
8
−
4
View file @
a8693258
...
...
@@ -90,10 +90,11 @@ name setupapi
@ stub SetupDiDeleteDevRegKey
@ stub SetupDiDeleteDeviceInfo
@ stub SetupDiDestroyClassImageList
@ st
ub
SetupDiDestroyDeviceInfoList
@ st
dcall SetupDiDestroyDeviceInfoList(long)
SetupDiDestroyDeviceInfoList
@ stub SetupDiDestroyDriverInfoList
@ stub SetupDiDrawMiniIcon
@ stub SetupDiEnumDeviceInfo
@ stdcall SetupDiEnumDeviceInfo(long long ptr) SetupDiEnumDeviceInfo
@ stdcall SetupDiEnumDeviceInterfaces(long ptr ptr long ptr) SetupDiEnumDeviceInterfaces
@ stub SetupDiEnumDriverInfoA
@ stub SetupDiEnumDriverInfoW
@ stub SetupDiGetActualSectionToInstallA
...
...
@@ -103,7 +104,7 @@ name setupapi
@ stub SetupDiGetClassDescriptionW
@ stub SetupDiGetClassDevPropertySheetsA
@ stub SetupDiGetClassDevPropertySheetsW
@ st
ub
SetupDiGetClassDevsA
@ st
dcall SetupDiGetClassDevsA(ptr ptr long long)
SetupDiGetClassDevsA
@ stub SetupDiGetClassDevsW
@ stub SetupDiGetClassImageIndex
@ stub SetupDiGetClassImageList
...
...
@@ -114,12 +115,15 @@ name setupapi
@ stub SetupDiGetDeviceInstallParamsW
@ stub SetupDiGetDeviceInstanceIdA
@ stub SetupDiGetDeviceInstanceIdW
@ st
ub
SetupDiGetDeviceRegistryPropertyA
@ st
dcall SetupDiGetDeviceRegistryPropertyA(long ptr long ptr ptr long ptr)
SetupDiGetDeviceRegistryPropertyA
@ stub SetupDiGetDeviceRegistryPropertyW
@ stub SetupDiGetDriverInfoDetailA
@ stub SetupDiGetDriverInfoDetailW
@ stub SetupDiGetDriverInstallParamsA
@ stub SetupDiGetDriverInstallParamsW
@ stub SetupDiGetDeviceInterfaceAlias
@ stdcall SetupDiGetDeviceInterfaceDetailA(long ptr ptr long ptr ptr) SetupDiGetDeviceInterfaceDetailA
@ stdcall SetupDiGetDeviceInterfaceDetailW(long ptr ptr long ptr ptr) SetupDiGetDeviceInterfaceDetailW
@ stub SetupDiGetHwProfileFriendlyNameA
@ stub SetupDiGetHwProfileFriendlyNameW
@ stub SetupDiGetHwProfileList
...
...
This diff is collapsed.
Click to expand it.
include/setupapi.h
+
23
−
0
View file @
a8693258
...
...
@@ -130,6 +130,29 @@ typedef struct _SP_DEVINFO_DATA
DWORD
Reserved
;
}
SP_DEVINFO_DATA
,
*
PSP_DEVINFO_DATA
;
typedef
struct
_SP_DEVICE_INTERFACE_DATA
{
DWORD
cbSize
;
GUID
InterfaceClassGuid
;
DWORD
Flags
;
ULONG_PTR
Reserved
;
}
SP_DEVICE_INTERFACE_DATA
,
*
PSP_DEVICE_INTERFACE_DATA
;
typedef
struct
_SP_DEVICE_INTERFACE_DETAIL_DATAA
{
DWORD
cbSize
;
CHAR
DevicePath
[
ANYSIZE_ARRAY
];
}
SP_DEVICE_INTERFACE_DETAIL_DATAA
,
*
PSP_DEVICE_INTERFACE_DETAIL_DATAA
;
typedef
struct
_SP_DEVICE_INTERFACE_DETAIL_DATAW
{
DWORD
cbSize
;
WCHAR
DevicePath
[
ANYSIZE_ARRAY
];
}
SP_DEVICE_INTERFACE_DETAIL_DATAW
,
*
PSP_DEVICE_INTERFACE_DETAIL_DATAW
;
DECL_WINELIB_TYPE_AW
(
SP_DEVICE_INTERFACE_DETAIL_DATA
)
DECL_WINELIB_TYPE_AW
(
PSP_DEVICE_INTERFACE_DETAIL_DATA
)
#define INF_STYLE_NONE 0x00
#define INF_STYLE_OLDNT 0x01
#define INF_STYLE_WIN4 0x02
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment