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
a8963c00
Commit
a8963c00
authored
Aug 13, 2023
by
Davide Beatrici
Committed by
Alexandre Julliard
Aug 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Import get_device_guid() from driver.
parent
11a676da
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
main.c
dlls/mmdevapi/main.c
+1
-0
mmdevapi_private.h
dlls/mmdevapi/mmdevapi_private.h
+1
-0
No files found.
dlls/mmdevapi/main.c
View file @
a8963c00
...
...
@@ -98,6 +98,7 @@ static BOOL load_driver(const WCHAR *name, DriverFuncs *driver)
#define LDFC(n) do { driver->p##n = (void*)GetProcAddress(driver->module, #n);\
if(!driver->p##n) { goto fail; } } while(0)
LDFC
(
get_device_guid
);
LDFC
(
get_device_name_from_guid
);
LDFC
(
GetEndpointIDs
);
#undef LDFC
...
...
dlls/mmdevapi/mmdevapi_private.h
View file @
a8963c00
...
...
@@ -42,6 +42,7 @@ typedef struct _DriverFuncs {
* valid. See enum _DriverPriority. */
int
priority
;
void
(
WINAPI
*
pget_device_guid
)(
EDataFlow
flow
,
const
char
*
name
,
GUID
*
guid
);
BOOL
(
WINAPI
*
pget_device_name_from_guid
)(
GUID
*
guid
,
char
**
name
,
EDataFlow
*
flow
);
/* ids gets an array of human-friendly endpoint names
* keys gets an array of driver-specific stuff that is used
...
...
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