Skip to content

Commit

Permalink
Library - Improve Close documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Liryna authored Nov 12, 2020
1 parent 2ecdf59 commit f9847f5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dokan/close.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ VOID DispatchClose(HANDLE Handle, PEVENT_CONTEXT EventContext,
eventInfo->Status = STATUS_SUCCESS; // return success at any case

DbgPrint("###Close %04d\n", openInfo != NULL ? openInfo->EventId : -1);

// do not send it to the driver
// SendEventInformation(Handle, eventInfo, length);

// Driver has simply notifying us of the Close request which he has
// already completed at this stage. Driver is not expecting us
// to reply from this so there is no need to send an EVENT_INFORMATION.

if (openInfo != NULL) {
EnterCriticalSection(&DokanInstance->CriticalSection);
Expand Down

0 comments on commit f9847f5

Please sign in to comment.