Platform SDK: Debugging and Error Handling |
The GetTimestampForLoadedLibrary function returns the timestamp of a loaded image.
DWORD GetTimestampForLoadedLibrary( HMODULE ImageBase );
If the function succeeds, the return value is the timestamp from the image.
If the function fails, the return value is zero. To retrieve extended error information, call GetLastError.
The timestamp for an image indicates the date and time that the image was created by the linker. The value is represented in the number of seconds elapsed since midnight (00:00:00), January 1, 1970, Universal Coordinated Time, according to the system clock. The timestamp can be printed using the C run-time (CRT) function ctime.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Dbghelp.h.
Library: Use Dbghelp.lib.
Debug Help Library Overview, DbgHelp Functions, MapViewOfFile