Subversion Repositories recyclebinunit

Rev

Rev 101 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 101 Rev 103
Line 26... Line 26...
26
  // Windows 95 +IE4: INFO2 file with TRbInfoRecordA; Folder deletion possible
26
  // Windows 95 +IE4: INFO2 file with TRbInfoRecordA; Folder deletion possible
27
  PRbInfoRecordA = ^TRbInfoRecordA;
27
  PRbInfoRecordA = ^TRbInfoRecordA;
28
  TRbInfoRecordA = packed record
28
  TRbInfoRecordA = packed record
29
    sourceAnsi: array[0..MAX_PATH-1] of AnsiChar; // 260 characters (including NUL terminator)
29
    sourceAnsi: array[0..MAX_PATH-1] of AnsiChar; // 260 characters (including NUL terminator)
30
    recordNumber: DWORD;
30
    recordNumber: DWORD;
31
    sourceDrive: DWORD; // 0=A, 1=B, 2=C, ..., Z=25, @=26 (@ is the "Network home drive" of the Win95 time)
31
    sourceDrive: DWORD; // 0=A, 1=B, 2=C, ..., 25=Z, 26=@ (this is the "Network home drive" of the Win95 days)
32
    deletionTime: FILETIME;
32
    deletionTime: FILETIME;
33
    originalSize: DWORD; // Size occupied on disk. Not the actual file size.
33
    originalSize: DWORD; // Size occupied on disk. Not the actual file size.
34
                         // INFO2, for folders: The whole folder size with contents
34
                         // INFO2, for folders: The whole folder size with contents
35
  end;
35
  end;
36
 
36
 
Line 39... Line 39...
39
  // Windows 2000+: INFO2 file with TRbInfoRecordW; Folder deletion possible
39
  // Windows 2000+: INFO2 file with TRbInfoRecordW; Folder deletion possible
40
  PRbInfoRecordW = ^TRbInfoRecordW;
40
  PRbInfoRecordW = ^TRbInfoRecordW;
41
  TRbInfoRecordW = packed record
41
  TRbInfoRecordW = packed record
42
    sourceAnsi: array[0..MAX_PATH-1] of AnsiChar; // 260 characters (including NUL terminator)
42
    sourceAnsi: array[0..MAX_PATH-1] of AnsiChar; // 260 characters (including NUL terminator)
43
    recordNumber: DWORD;
43
    recordNumber: DWORD;
44
    sourceDrive: DWORD; // 0=A, 1=B, 2=C, ..., Z=25, @=26 (@ is the "Network home drive" of the Win95 times)
44
    sourceDrive: DWORD; // 0=A, 1=B, 2=C, ..., 25=Z, 26=@ (this is the "Network home drive" of the Win95 days)
45
    deletionTime: FILETIME;
45
    deletionTime: FILETIME;
46
    originalSize: DWORD;
46
    originalSize: DWORD;
47
    sourceUnicode: array[0..MAX_PATH-1] of WideChar; // 260 characters (including NUL terminator)
47
    sourceUnicode: array[0..MAX_PATH-1] of WideChar; // 260 characters (including NUL terminator)
48
  end;
48
  end;
49
 
49