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
6adf2117
Commit
6adf2117
authored
Sep 30, 2011
by
Andrew Eikum
Committed by
Alexandre Julliard
Sep 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Don't use invalid This pointer on static object.
parent
d41f6a6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
devenum.c
dlls/mmdevapi/devenum.c
+1
-5
No files found.
dlls/mmdevapi/devenum.c
View file @
6adf2117
...
...
@@ -1236,14 +1236,10 @@ static ULONG WINAPI info_device_ps_Release(IPropertyStore *iface)
static
HRESULT
WINAPI
info_device_ps_GetValue
(
IPropertyStore
*
iface
,
REFPROPERTYKEY
key
,
PROPVARIANT
*
pv
)
{
MMDevPropStore
*
This
=
impl_from_IPropertyStore
(
iface
);
TRACE
(
"(%p)->(
\"
%s,%u
\"
, %p)
\n
"
,
This
,
debugstr_guid
(
&
key
->
fmtid
),
key
?
key
->
pid
:
0
,
pv
);
TRACE
(
"(static)->(
\"
%s,%u
\"
, %p)
\n
"
,
debugstr_guid
(
&
key
->
fmtid
),
key
?
key
->
pid
:
0
,
pv
);
if
(
!
key
||
!
pv
)
return
E_POINTER
;
if
(
This
->
access
!=
STGM_READ
&&
This
->
access
!=
STGM_READWRITE
)
return
STG_E_ACCESSDENIED
;
if
(
IsEqualPropertyKey
(
*
key
,
DEVPKEY_Device_Driver
))
{
...
...
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