locks.c
来自「winddk src目录下的文件系统驱动源码压缩!」· C语言 代码 · 共 113 行
C
113 行
/*++
Copyright (c) 1989 - 1999 Microsoft Corporation
Module Name:
locks.c
Abstract:
This module implements the mini redirector call down routines pertaining to locks
of file system objects.
--*/
#include "precomp.h"
#pragma hdrstop
//
// The local debug trace level
//
#define Dbg (DEBUG_TRACE_LOCKS)
#ifdef ALLOC_PRAGMA
#pragma alloc_text(PAGE, NulMRxLocks)
#pragma alloc_text(PAGE, NulMRxCompleteBufferingStateChangeRequest)
#pragma alloc_text(PAGE, NulMRxFlush)
#endif
NTSTATUS
NulMRxLocks(
IN PRX_CONTEXT RxContext)
/*++
Routine Description:
This routine handles network requests for filelocks
Arguments:
RxContext - the RDBSS context
Return Value:
RXSTATUS - The return status for the operation
--*/
{
NTSTATUS Status = STATUS_NOT_IMPLEMENTED;
//DbgPrint("NulMRxLocks \n");
return(Status);
}
NTSTATUS
NulMRxCompleteBufferingStateChangeRequest(
IN OUT PRX_CONTEXT RxContext,
IN OUT PMRX_SRV_OPEN SrvOpen,
IN PVOID pContext
)
/*++
Routine Description:
This routine is called to assert the locks that the wrapper has buffered. currently, it is synchronous!
Arguments:
RxContext - the open instance
SrvOpen - tells which fcb is to be used.
LockEnumerator - the routine to call to get the locks
Return Value:
RXSTATUS - The return status for the operation
--*/
{
NTSTATUS Status = STATUS_NOT_IMPLEMENTED;
DbgPrint("NulMRxCompleteBufferingStateChangeRequest \n");
return(Status);
}
NTSTATUS
NulMRxFlush(
IN PRX_CONTEXT RxContext)
/*++
Routine Description:
This routine handles network requests for file flush
Arguments:
RxContext - the RDBSS context
Return Value:
RXSTATUS - The return status for the operation
--*/
{
NTSTATUS Status = STATUS_NOT_IMPLEMENTED;
DbgPrint("NulMRxFlush \n");
return(Status);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?