[RDBSS]
[reactos.git] / reactos / sdk / include / ddk / buffring.h
index 399f23a..6389779 100644 (file)
@@ -1,6 +1,20 @@
 #ifndef __BUFFRING_H__
 #define __BUFFRING_H__
 
+#define RX_REQUEST_PREPARED_FOR_HANDLING 0x10000000
+
+typedef struct _CHANGE_BUFFERING_STATE_REQUEST_
+{   
+    LIST_ENTRY ListEntry;
+    ULONG Flags;
+#if (_WIN32_WINNT < 0x0600)
+    PSRV_CALL pSrvCall; 
+#endif
+    PSRV_OPEN SrvOpen;
+    PVOID SrvOpenKey;
+    PVOID MRxContext;
+} CHANGE_BUFFERING_STATE_REQUEST, *PCHANGE_BUFFERING_STATE_REQUEST;
+
 typedef struct _RX_BUFFERING_MANAGER_
 {
     BOOLEAN DispatcherActive;
@@ -49,6 +63,10 @@ VOID
 RxProcessFcbChangeBufferingStateRequest(
     _In_ PFCB Fcb);
 
+VOID
+RxPurgeChangeBufferingStateRequestsForSrvOpen(
+    _In_ PSRV_OPEN SrvOpen);
+
 VOID
 RxCompleteSrvOpenKeyAssociation(
     _Inout_ PSRV_OPEN SrvOpen);