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
fd61c3f2
Commit
fd61c3f2
authored
Jul 29, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add some missing traces.
parent
d9bfbe91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
stg_stream.c
dlls/ole32/stg_stream.c
+5
-1
storage32.c
dlls/ole32/storage32.c
+6
-3
No files found.
dlls/ole32/stg_stream.c
View file @
fd61c3f2
...
...
@@ -273,7 +273,7 @@ static HRESULT WINAPI StgStreamImpl_Read(
WARN
(
"storage reverted
\n
"
);
return
STG_E_REVERTED
;
}
/*
* If the caller is not interested in the number of bytes read,
* we use another buffer to avoid "if" statements in the code.
...
...
@@ -805,6 +805,8 @@ static HRESULT WINAPI StgStreamImpl_Stat(
StgProperty
curProperty
;
BOOL
readSucessful
;
TRACE
(
"%p %p %ld
\n
"
,
This
,
pstatstg
,
grfStatFlag
);
/*
* if stream has no parent, return STG_E_REVERTED
*/
...
...
@@ -854,6 +856,8 @@ static HRESULT WINAPI StgStreamImpl_Clone(
StgStreamImpl
*
new_stream
;
LARGE_INTEGER
seek_pos
;
TRACE
(
"%p %p
\n
"
,
This
,
ppstm
);
/*
* Sanity check
*/
...
...
dlls/ole32/storage32.c
View file @
fd61c3f2
...
...
@@ -1813,7 +1813,7 @@ static HRESULT WINAPI StorageImpl_Stat( IStorage* iface,
}
/******************************************************************************
* Internal stream list handlers
* Internal stream list handlers
*/
void
StorageBaseImpl_AddStream
(
StorageBaseImpl
*
stg
,
StgStreamImpl
*
strm
)
...
...
@@ -1836,7 +1836,7 @@ void StorageBaseImpl_DeleteAll(StorageBaseImpl * stg)
LIST_FOR_EACH_SAFE
(
cur
,
cur2
,
&
stg
->
strmHead
)
{
strm
=
LIST_ENTRY
(
cur
,
StgStreamImpl
,
StrmListEntry
);
TRACE
(
"Streams deleted (stg=%p strm=%p next=%p prev=%p)
\n
"
,
stg
,
strm
,
cur
->
next
,
cur
->
prev
);
strm
->
parentStorage
=
NULL
;
strm
->
parentStorage
=
NULL
;
list_remove
(
cur
);
}
}
...
...
@@ -7620,6 +7620,8 @@ HRESULT WINAPI OleConvertOLESTREAMToIStorage (
HRESULT
hRes
=
S_OK
;
OLECONVERT_OLESTREAM_DATA
pOleStreamData
[
2
];
TRACE
(
"%p %p %p
\n
"
,
pOleStream
,
pstg
,
ptd
);
memset
(
pOleStreamData
,
0
,
sizeof
(
pOleStreamData
));
if
(
ptd
!=
NULL
)
...
...
@@ -7710,6 +7712,7 @@ HRESULT WINAPI OleConvertIStorageToOLESTREAM (
OLECONVERT_OLESTREAM_DATA
pOleStreamData
[
2
];
static
const
WCHAR
wstrStreamName
[]
=
{
1
,
'O'
,
'l'
,
'e'
,
'1'
,
'0'
,
'N'
,
'a'
,
't'
,
'i'
,
'v'
,
'e'
,
0
};
TRACE
(
"%p %p
\n
"
,
pstg
,
pOleStream
);
memset
(
pOleStreamData
,
0
,
sizeof
(
pOleStreamData
));
...
...
@@ -7783,7 +7786,7 @@ StgIsStorageFile(LPCOLESTR fn)
BYTE
magic
[
8
];
DWORD
bytes_read
;
TRACE
(
"
(
\'
%s
\'
)
\n
"
,
debugstr_w
(
fn
));
TRACE
(
"
%s
\n
"
,
debugstr_w
(
fn
));
hf
=
CreateFileW
(
fn
,
GENERIC_READ
,
FILE_SHARE_DELETE
|
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
NULL
,
OPEN_EXISTING
,
FILE_ATTRIBUTE_NORMAL
,
0
);
...
...
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