| 95 | L" SpecialK " ); } |
| 96 | |
| 97 | BOOL |
| 98 | SK_File_GetModificationTime (const wchar_t* wszFile, FILETIME* pfModifyTime) |
| 99 | { |
| 100 | if (! pfModifyTime) |
| 101 | return FALSE; |
| 102 | |
| 103 | SK_AutoHandle hFile ( |
| 104 | CreateFileW ( wszFile, GENERIC_READ, |
| 105 | FILE_SHARE_READ, nullptr, |
| 106 | OPEN_EXISTING, |
| 107 | FILE_ATTRIBUTE_NORMAL, nullptr ) |
| 108 | ); |
| 109 | |
| 110 | if (hFile.m_h != 0) |
| 111 | { |
| 112 | FILETIME ftCreation, ftAccess; |
| 113 | |
| 114 | return |
| 115 | GetFileTime (hFile.m_h, &ftCreation, &ftAccess, pfModifyTime); |
| 116 | } |
| 117 | |
| 118 | return FALSE; |
| 119 | } |
| 120 | |
| 121 | bool |
| 122 | iSK_INI::reload (const wchar_t *fname) |