| 148 | } |
| 149 | |
| 150 | NTSTATUS Open(FSP_FILE_SYSTEM* FileSystem, PWSTR FileName, |
| 151 | UINT32 /*CreateOptions*/, UINT32 /*GrantedAccess*/, |
| 152 | PVOID* PFileContext, FSP_FSCTL_FILE_INFO* FileInfo) |
| 153 | { |
| 154 | auto* lf = static_cast<LmpfsFs*>(FileSystem->UserContext); |
| 155 | auto n = ResolvePath(lf, FileName); |
| 156 | if (!n) return STATUS_OBJECT_NAME_NOT_FOUND; |
| 157 | // Pass the raw Node* — it stays valid for the lifetime of the mount. |
| 158 | *PFileContext = n.get(); |
| 159 | FillFileInfo(n, FileInfo); |
| 160 | return STATUS_SUCCESS; |
| 161 | } |
| 162 | |
| 163 | NTSTATUS Overwrite(FSP_FILE_SYSTEM*, PVOID, UINT32, BOOLEAN, UINT64, |
| 164 | FSP_FSCTL_FILE_INFO*) |
nothing calls this directly
no test coverage detected