Exemplo n.º 1
0
 internal void PopulateFrom(WIN32_FIND_DATA findData) {
     // Copy the information to data
     fileAttributes = findData.dwFileAttributes; 
     ftCreationTimeLow = findData.ftCreationTime_dwLowDateTime; 
     ftCreationTimeHigh = findData.ftCreationTime_dwHighDateTime; 
     ftLastAccessTimeLow = findData.ftLastAccessTime_dwLowDateTime; 
     ftLastAccessTimeHigh = findData.ftLastAccessTime_dwHighDateTime; 
     ftLastWriteTimeLow = findData.ftLastWriteTime_dwLowDateTime; 
     ftLastWriteTimeHigh = findData.ftLastWriteTime_dwHighDateTime; 
     fileSizeHigh = findData.nFileSizeHigh; 
     fileSizeLow = findData.nFileSizeLow; 
 }
Exemplo n.º 2
0
 internal static extern bool FindNextFile(
     SafeFindHandle hndFindFile,
     [In, Out, MarshalAs(UnmanagedType.LPStruct)]
     WIN32_FIND_DATA lpFindFileData);