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
aa2b23ca
Commit
aa2b23ca
authored
Sep 21, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Sep 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Implement SetupDiCreateDeviceInterfaceA on top of SetupDiCreateInterfaceW.
parent
8069619b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
devinst.c
dlls/setupapi/devinst.c
+16
-2
No files found.
dlls/setupapi/devinst.c
View file @
aa2b23ca
...
...
@@ -1767,12 +1767,26 @@ BOOL WINAPI SetupDiCreateDeviceInterfaceA(
DWORD
CreationFlags
,
PSP_DEVICE_INTERFACE_DATA
DeviceInterfaceData
)
{
BOOL
ret
;
LPWSTR
ReferenceStringW
=
NULL
;
TRACE
(
"%p %p %s %s %08x %p
\n
"
,
DeviceInfoSet
,
DeviceInfoData
,
debugstr_guid
(
InterfaceClassGuid
),
debugstr_a
(
ReferenceString
),
CreationFlags
,
DeviceInterfaceData
);
FIXME
(
"stub
\n
"
);
return
FALSE
;
if
(
ReferenceString
)
{
ReferenceStringW
=
MultiByteToUnicode
(
ReferenceString
,
CP_ACP
);
if
(
ReferenceStringW
==
NULL
)
return
FALSE
;
}
ret
=
SetupDiCreateDeviceInterfaceW
(
DeviceInfoSet
,
DeviceInfoData
,
InterfaceClassGuid
,
ReferenceStringW
,
CreationFlags
,
DeviceInterfaceData
);
MyFree
(
ReferenceStringW
);
return
ret
;
}
/***********************************************************************
...
...
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