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
b0e3c91c
Commit
b0e3c91c
authored
Dec 22, 2009
by
Andrew Nguyen
Committed by
Alexandre Julliard
Dec 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Fail class instantiation if aggregation is requested.
parent
d36e3b4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
provider.c
dlls/dxdiagn/provider.c
+5
-5
No files found.
dlls/dxdiagn/provider.c
View file @
b0e3c91c
...
...
@@ -139,12 +139,12 @@ HRESULT DXDiag_CreateDXDiagProvider(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, R
IDxDiagProviderImpl
*
provider
;
TRACE
(
"(%p, %s, %p)
\n
"
,
punkOuter
,
debugstr_guid
(
riid
),
ppobj
);
*
ppobj
=
NULL
;
if
(
punkOuter
)
return
CLASS_E_NOAGGREGATION
;
provider
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDxDiagProviderImpl
));
if
(
NULL
==
provider
)
{
*
ppobj
=
NULL
;
return
E_OUTOFMEMORY
;
}
if
(
NULL
==
provider
)
return
E_OUTOFMEMORY
;
provider
->
lpVtbl
=
&
DxDiagProvider_Vtbl
;
provider
->
ref
=
0
;
/* will be inited with QueryInterface */
return
IDxDiagProviderImpl_QueryInterface
((
PDXDIAGPROVIDER
)
provider
,
riid
,
ppobj
);
...
...
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