How to get time to create pagefile.sys file using WinAPI?
From MSDN:

BOOL WINAPI GetFileTime(_In_ HANDLE hFile,......
GENERIC_READ access right.

But the attempt HANDLE WINAPI CreateFile returns:

GetLastError 0x20 - the process cannot access the file because it is being used by another process.

    1 answer 1

    FindFirstFile() and field WIN32_FIND_DATA.ftCreationTime try ...

    • Many thanks. The way works. - east