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
02aa8d50
Commit
02aa8d50
authored
Jul 30, 2004
by
Thomas Weidenmueller
Committed by
Alexandre Julliard
Jul 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implementation of TouchFileTimes(), thanks to Florian Stinglmayr for
submitting a rough draft.
parent
e3c1c249
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
imagehlp_main.c
dlls/imagehlp/imagehlp_main.c
+12
-7
No files found.
dlls/imagehlp/imagehlp_main.c
View file @
02aa8d50
...
...
@@ -61,12 +61,17 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
/***********************************************************************
* TouchFileTimes (IMAGEHLP.@)
*/
BOOL
WINAPI
TouchFileTimes
(
HANDLE
FileHandle
,
LPSYSTEMTIME
lpSystemTime
)
BOOL
WINAPI
TouchFileTimes
(
HANDLE
FileHandle
,
LPSYSTEMTIME
lpSystemTime
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
FileHandle
,
lpSystemTime
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
FILETIME
FileTime
;
SYSTEMTIME
SystemTime
;
if
(
lpSystemTime
==
NULL
)
{
GetSystemTime
(
&
SystemTime
);
lpSystemTime
=
&
SystemTime
;
}
return
(
SystemTimeToFileTime
(
lpSystemTime
,
&
FileTime
)
&&
SetFileTime
(
FileHandle
,
NULL
,
NULL
,
&
FileTime
));
}
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