ホーム › System.Ioctl › USN_RECORD_V2
USN_RECORD_V2
構造体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 |
|---|---|---|---|---|
| RecordLength | DWORD | 4 | +0 | +0 |
| MajorVersion | WORD | 2 | +4 | +4 |
| MinorVersion | WORD | 2 | +6 | +6 |
| FileReferenceNumber | ULONGLONG | 8 | +8 | +8 |
| ParentFileReferenceNumber | ULONGLONG | 8 | +16 | +16 |
| Usn | LONGLONG | 8 | +24 | +24 |
| TimeStamp | LONGLONG | 8 | +32 | +32 |
| Reason | DWORD | 4 | +40 | +40 |
| SourceInfo | DWORD | 4 | +44 | +44 |
| SecurityId | DWORD | 4 | +48 | +48 |
| FileAttributes | DWORD | 4 | +52 | +52 |
| FileNameLength | WORD | 2 | +56 | +56 |
| FileNameOffset | WORD | 2 | +58 | +58 |
| FileName | WCHAR | 2 | +60 | +60 |