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
fec8156c
Commit
fec8156c
authored
Apr 29, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Apr 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Implement AtlComQIPtrAssign.
parent
35e99b50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
atl.spec
dlls/atl/atl.spec
+1
-1
atl_main.c
dlls/atl/atl_main.c
+12
-0
No files found.
dlls/atl/atl.spec
View file @
fec8156c
...
...
@@ -23,7 +23,7 @@
28 stdcall AtlPixelToHiMetric(ptr ptr)
29 stub AtlDevModeW2A
30 stdcall AtlComPtrAssign(ptr ptr)
31 st
ub AtlComQIPtrAssign
31 st
dcall AtlComQIPtrAssign(ptr ptr ptr)
32 stdcall AtlInternalQueryInterface(ptr ptr ptr ptr)
34 stub AtlGetVersion
35 stub AtlAxDialogBoxW
...
...
dlls/atl/atl_main.c
View file @
fec8156c
...
...
@@ -208,6 +208,18 @@ IUnknown* WINAPI AtlComPtrAssign(IUnknown** pp, IUnknown *p)
return
p
;
}
IUnknown
*
WINAPI
AtlComQIPtrAssign
(
IUnknown
**
pp
,
IUnknown
*
p
,
REFIID
riid
)
{
IUnknown
*
new_p
=
NULL
;
TRACE
(
"(%p %p %s)
\n
"
,
pp
,
p
,
debugstr_guid
(
riid
));
if
(
p
)
IUnknown_QueryInterface
(
p
,
riid
,
(
void
**
)
&
new_p
);
if
(
*
pp
)
IUnknown_Release
(
*
pp
);
*
pp
=
new_p
;
return
new_p
;
}
HRESULT
WINAPI
AtlInternalQueryInterface
(
void
*
this
,
const
_ATL_INTMAP_ENTRY
*
pEntries
,
REFIID
iid
,
void
**
ppvObject
)
{
...
...
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