mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
doc: fix code in WinFsp Delete Redesign document
This commit is contained in:
parent
b13b24e0b1
commit
1208c6c652
@ -69,7 +69,7 @@ The new `Delete` operation follows the general pattern below:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
NTSTATUS (*Delete)(FSP_FILE_SYSTEM *FileSystem,
|
NTSTATUS Delete(FSP_FILE_SYSTEM *FileSystem,
|
||||||
PVOID FileContext, PWSTR FileName, ULONG Flags)
|
PVOID FileContext, PWSTR FileName, ULONG Flags)
|
||||||
{
|
{
|
||||||
switch (Flags)
|
switch (Flags)
|
||||||
@ -98,7 +98,7 @@ A sensible implementation of `Delete` might look something similar to the follow
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
NTSTATUS (*Delete)(FSP_FILE_SYSTEM *FileSystem,
|
NTSTATUS Delete(FSP_FILE_SYSTEM *FileSystem,
|
||||||
PVOID FileContext, PWSTR FileName, ULONG Flags)
|
PVOID FileContext, PWSTR FileName, ULONG Flags)
|
||||||
{
|
{
|
||||||
switch (Flags)
|
switch (Flags)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user