| 215 | } |
| 216 | |
| 217 | NTSTATUS GetFileInfo(FSP_FILE_SYSTEM*, PVOID FileContext, FSP_FSCTL_FILE_INFO* FileInfo) { |
| 218 | Node* node = ctx_node(FileContext); |
| 219 | if (!node) return STATUS_INVALID_DEVICE_REQUEST; |
| 220 | // We need a NodePtr for FillFileInfo's interface. Wrap with a no-op |
| 221 | // deleter so refcount manipulation doesn't free. |
| 222 | auto guard = std::shared_ptr<Node>(node, [](Node*){}); |
| 223 | FillFileInfo(guard, FileInfo); |
| 224 | return STATUS_SUCCESS; |
| 225 | } |
| 226 | |
| 227 | NTSTATUS GetSecurity(FSP_FILE_SYSTEM* FileSystem, PVOID /*FileContext*/, |
| 228 | PSECURITY_DESCRIPTOR SecurityDescriptor, |
nothing calls this directly
no test coverage detected