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
54f30df9
Commit
54f30df9
authored
Feb 04, 2022
by
Esme Povirk
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diasymreader: Implement SymWriter_GetSignatureAge.
Signed-off-by:
Esme Povirk
<
esme@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6a0262b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
writer.c
dlls/diasymreader/writer.c
+18
-2
No files found.
dlls/diasymreader/writer.c
View file @
54f30df9
...
...
@@ -17,6 +17,7 @@
*/
#include <stdarg.h>
#include <time.h>
#define COBJMACROS
...
...
@@ -39,6 +40,7 @@ typedef struct SymWriter {
LONG
ref
;
CRITICAL_SECTION
lock
;
GUID
pdb_guid
;
DWORD
pdb_timestamp
;
DWORD
pdb_age
;
WCHAR
pdb_filename
[
MAX_PATH
];
}
SymWriter
;
...
...
@@ -240,6 +242,8 @@ static HRESULT WINAPI SymWriter_Initialize(ISymUnmanagedWriter5 *iface, IUnknown
if
(
filename
)
wcsncpy_s
(
This
->
pdb_filename
,
MAX_PATH
,
filename
,
_TRUNCATE
);
This
->
pdb_timestamp
=
_time32
(
NULL
);
LeaveCriticalSection
(
&
This
->
lock
);
return
S_OK
;
...
...
@@ -465,8 +469,20 @@ static HRESULT WINAPI SymWriter_GetPath(IPdbWriter *iface, DWORD ccData, DWORD *
static
HRESULT
WINAPI
SymWriter_GetSignatureAge
(
IPdbWriter
*
iface
,
DWORD
*
timestamp
,
DWORD
*
age
)
{
FIXME
(
"(%p,%p,%p)
\n
"
,
iface
,
timestamp
,
age
);
return
E_NOTIMPL
;
SymWriter
*
This
=
impl_from_IPdbWriter
(
iface
);
TRACE
(
"(%p,%p,%p)
\n
"
,
This
,
timestamp
,
age
);
EnterCriticalSection
(
&
This
->
lock
);
if
(
timestamp
)
*
timestamp
=
This
->
pdb_timestamp
;
if
(
age
)
*
age
=
This
->
pdb_age
;
LeaveCriticalSection
(
&
This
->
lock
);
return
S_OK
;
}
static
const
IPdbWriterVtbl
SymWriter_PdbWriter_Vtbl
=
{
...
...
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