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
c583dea7
Commit
c583dea7
authored
Feb 09, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Add more tracing, hide initialization details by calling a method.
parent
5690127b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
recinfo.c
dlls/oleaut32/recinfo.c
+10
-3
No files found.
dlls/oleaut32/recinfo.c
View file @
c583dea7
...
...
@@ -149,6 +149,8 @@ static HRESULT WINAPI IRecordInfoImpl_QueryInterface(IRecordInfo *iface, REFIID
{
TRACE
(
"(%p)->(%s %p)
\n
"
,
iface
,
debugstr_guid
(
riid
),
ppvObject
);
*
ppvObject
=
NULL
;
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
IsEqualGUID
(
&
IID_IRecordInfo
,
riid
))
{
*
ppvObject
=
iface
;
IRecordInfo_AddRef
(
iface
);
...
...
@@ -527,10 +529,14 @@ static BOOL WINAPI IRecordInfoImpl_IsMatchingType(IRecordInfo *iface, IRecordInf
static
PVOID
WINAPI
IRecordInfoImpl_RecordCreate
(
IRecordInfo
*
iface
)
{
IRecordInfoImpl
*
This
=
impl_from_IRecordInfo
(
iface
);
void
*
record
;
TRACE
(
"(%p)
\n
"
,
This
);
return
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
This
->
size
);
record
=
HeapAlloc
(
GetProcessHeap
(),
0
,
This
->
size
);
IRecordInfo_RecordInit
(
iface
,
record
);
TRACE
(
"created record at %p
\n
"
,
record
);
return
record
;
}
static
HRESULT
WINAPI
IRecordInfoImpl_RecordCreateCopy
(
IRecordInfo
*
iface
,
PVOID
pvSource
,
...
...
@@ -600,8 +606,8 @@ HRESULT WINAPI GetRecordInfoFromGuids(REFGUID rGuidTypeLib, ULONG uVerMajor,
ITypeLib
*
pTypeLib
;
HRESULT
hres
;
TRACE
(
"(%p,%d,%d,%d,%
p
,%p)
\n
"
,
rGuidTypeLib
,
uVerMajor
,
uVerMinor
,
lcid
,
rGuidTypeInfo
,
ppRecInfo
);
TRACE
(
"(%p,%d,%d,%d,%
s
,%p)
\n
"
,
rGuidTypeLib
,
uVerMajor
,
uVerMinor
,
lcid
,
debugstr_guid
(
rGuidTypeInfo
)
,
ppRecInfo
);
hres
=
LoadRegTypeLib
(
rGuidTypeLib
,
uVerMajor
,
uVerMinor
,
lcid
,
&
pTypeLib
);
if
(
FAILED
(
hres
))
{
...
...
@@ -700,6 +706,7 @@ HRESULT WINAPI GetRecordInfoFromTypeInfo(ITypeInfo* pTI, IRecordInfo** ppRecInfo
NULL
,
NULL
,
NULL
);
if
(
FAILED
(
hres
))
WARN
(
"GetDocumentation failed: %08x
\n
"
,
hres
);
TRACE
(
"field=%s, offset=%d
\n
"
,
debugstr_w
(
ret
->
fields
[
i
].
name
),
ret
->
fields
[
i
].
offset
);
ITypeInfo_ReleaseVarDesc
(
pTypeInfo
,
vardesc
);
}
...
...
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