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
823c418d
Commit
823c418d
authored
Oct 18, 2004
by
Joris Huizer
Committed by
Alexandre Julliard
Oct 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added IClassFactory->CreateInstance aggregation checks.
parent
f971902a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
amstream.c
dlls/amstream/amstream.c
+3
-0
itss.c
dlls/itss/itss.c
+3
-0
filesource.c
dlls/quartz/filesource.c
+6
-1
filtergraph.c
dlls/quartz/filtergraph.c
+3
-0
No files found.
dlls/amstream/amstream.c
View file @
823c418d
...
...
@@ -46,6 +46,9 @@ HRESULT AM_create(IUnknown *pUnkOuter, LPVOID *ppObj)
IAMMultiMediaStreamImpl
*
object
;
FIXME
(
"(%p,%p)
\n
"
,
pUnkOuter
,
ppObj
);
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
object
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IAMMultiMediaStreamImpl
));
...
...
dlls/itss/itss.c
View file @
823c418d
...
...
@@ -384,6 +384,9 @@ static HRESULT ITSS_create(IUnknown *pUnkOuter, LPVOID *ppObj)
{
ITStorageImpl
*
its
;
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
its
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
ITStorageImpl
)
);
its
->
vtbl_IITStorage
=
&
ITStorageImpl_Vtbl
;
its
->
ref
=
1
;
...
...
dlls/quartz/filesource.c
View file @
823c418d
...
...
@@ -293,7 +293,12 @@ static HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName,
HRESULT
AsyncReader_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
{
AsyncReader
*
pAsyncRead
=
CoTaskMemAlloc
(
sizeof
(
AsyncReader
));
AsyncReader
*
pAsyncRead
;
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
pAsyncRead
=
CoTaskMemAlloc
(
sizeof
(
AsyncReader
));
if
(
!
pAsyncRead
)
return
E_OUTOFMEMORY
;
...
...
dlls/quartz/filtergraph.c
View file @
823c418d
...
...
@@ -2416,6 +2416,9 @@ HRESULT FILTERGRAPH_create(IUnknown *pUnkOuter, LPVOID *ppObj) {
TRACE
(
"(%p,%p)
\n
"
,
pUnkOuter
,
ppObj
);
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
fimpl
=
(
IFilterGraphImpl
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
fimpl
));
fimpl
->
IGraphBuilder_vtbl
=
&
IGraphBuilder_VTable
;
fimpl
->
IMediaControl_vtbl
=
&
IMediaControl_VTable
;
...
...
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