亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? filespy.c

?? 文件過濾驅動
?? C
?? 第 1 頁 / 共 5 頁
字號:
                                                               Length,
                                                               Wait,
                                                               LockKey,
                                                               CheckForReadOperation,
                                                               IoStatus,
                                                               deviceObject);
        goto SpyFastIoCheckIfPossible_Exit;
    } else {
        returnValue = FALSE;
    }

SpyFastIoCheckIfPossible_Exit:
    if (shouldLog) {
        //
        // Log the necessary information for the end of the Fast I/O 
        // operation if we were able to allocate a RecordList to store 
        // this information
        //
        if (recordList) {
            SpyLogFastIoComplete(
                0, 
                FileObject, 
                IoStatus, 
                recordList);
        }
    }
    return returnValue;
}

DBGSTATIC
BOOLEAN
SpyFastIoRead(
    IN PFILE_OBJECT      FileObject,
    IN PLARGE_INTEGER    FileOffset,
    IN ULONG             Length,
    IN BOOLEAN           Wait,
    IN ULONG             LockKey,
    OUT PVOID            Buffer,
    OUT PIO_STATUS_BLOCK IoStatus,
    IN PDEVICE_OBJECT    DeviceObject
)
/*++

Routine Description:

    This routine is the fast I/O "pass through" routine for reading from a
    file.

    This function simply invokes the next driver's cooresponding routine, or
    returns FALSE if the next driver does not implement the function.

Arguments:

    FileObject - Pointer to the file object to be read.

    FileOffset - Byte offset in the file of the read.

    Length - Length of the read operation to be performed.

    Wait - Indicates whether or not the caller is willing to wait if the
        appropriate locks, etc. cannot be acquired

    LockKey - Provides the caller's key for file locks.

    Buffer - Pointer to the caller's buffer to receive the data read.

    IoStatus - Pointer to a variable to receive the I/O status of the
        operation.

    DeviceObject - Pointer to this driver's device object, the device on
        which the operation is to occur.

Return Value:

    The function value is TRUE or FALSE based on whether or not fast I/O
    is possible for this file.

--*/
{
    PDEVICE_OBJECT    deviceObject;
    PFAST_IO_DISPATCH fastIoDispatch;
    BOOLEAN           returnValue;
    PRECORD_LIST      recordList;
    BOOLEAN           shouldLog;

    PAGED_CODE();
    
    if (DeviceObject->DeviceExtension == NULL) {
        return FALSE;
    }
    
    if (shouldLog = SHOULD_LOG(DeviceObject)) {
        //
        // Log the necessary information for the start of the Fast I/O 
        // operation
        //
        recordList = SpyLogFastIoStart(
            READ,
            0,
            FileObject,
            FileOffset,
            Length,
            Wait );
    }

    //
    // Pass through logic for this type of Fast I/O
    //
    deviceObject = 
        ((PDEVICE_EXTENSION) (DeviceObject->DeviceExtension))->
            NextDriverDeviceObject;
    if (!deviceObject) {
        returnValue = FALSE;
        goto SpyFastIoRead_Exit;
    }
    fastIoDispatch = deviceObject->DriverObject->FastIoDispatch;

    if (VALID_FAST_IO_DISPATCH_HANDLER( fastIoDispatch, FastIoRead )) {
        returnValue = (fastIoDispatch->FastIoRead)( FileObject,
                                                    FileOffset,
                                                    Length,
                                                    Wait,
                                                    LockKey,
                                                    Buffer,
                                                    IoStatus,
                                                    deviceObject);
        goto SpyFastIoRead_Exit;
    } else {
        returnValue = FALSE;
        goto SpyFastIoRead_Exit;
    }

SpyFastIoRead_Exit:
    if (shouldLog) {
        //
        // Log the necessary information for the end of the Fast I/O operation
        // if we were able to allocate a RecordList to store this information
        //
        if (recordList) {
            SpyLogFastIoComplete(
                0, 
                FileObject, 
                IoStatus, 
                recordList);
        }
    }
    return returnValue;
}

DBGSTATIC
BOOLEAN
SpyFastIoWrite(
    IN  PFILE_OBJECT      FileObject,
    IN  PLARGE_INTEGER    FileOffset,
    IN  ULONG             Length,
    IN  BOOLEAN           Wait,
    IN  ULONG             LockKey,
    IN  PVOID             Buffer,
    OUT PIO_STATUS_BLOCK  IoStatus,
    IN  PDEVICE_OBJECT    DeviceObject
)
/*++

Routine Description:

    This routine is the fast I/O "pass through" routine for writing to a
    file.

    This function simply invokes the next driver's cooresponding routine, or
    returns FALSE if the next driver does not implement the function.

Arguments:

    FileObject - Pointer to the file object to be written.

    FileOffset - Byte offset in the file of the write operation.

    Length - Length of the write operation to be performed.

    Wait - Indicates whether or not the caller is willing to wait if the
        appropriate locks, etc. cannot be acquired

    LockKey - Provides the caller's key for file locks.

    Buffer - Pointer to the caller's buffer that contains the data to be
        written.

    IoStatus - Pointer to a variable to receive the I/O status of the
        operation.

    DeviceObject - Pointer to this driver's device object, the device on
        which the operation is to occur.

Return Value:

    The function value is TRUE or FALSE based on whether or not fast I/O
    is possible for this file.

--*/
{
    PDEVICE_OBJECT    deviceObject;
    PFAST_IO_DISPATCH fastIoDispatch;
    PRECORD_LIST      recordList;
    BOOLEAN           returnValue;
    BOOLEAN           shouldLog;

    PAGED_CODE();
    
    if (DeviceObject->DeviceExtension == NULL) {
        return FALSE;
    }
    
    if (shouldLog = SHOULD_LOG(DeviceObject)) {
        //
        // Log the necessary information for the start of the Fast I/O 
        // operation
        //
        recordList = SpyLogFastIoStart(
            WRITE,
            0,
            FileObject,
            FileOffset,
            Length,
            Wait );
    }

    //
    // Pass through logic for this type of Fast I/O
    //
    deviceObject = 
        ((PDEVICE_EXTENSION) (DeviceObject->DeviceExtension))->
            NextDriverDeviceObject;
    if (!deviceObject) {
        returnValue = FALSE;
        goto SpyFastIoWrite_Exit;
    }
    fastIoDispatch = deviceObject->DriverObject->FastIoDispatch;

    if (VALID_FAST_IO_DISPATCH_HANDLER( fastIoDispatch, FastIoWrite )) {
        returnValue = (fastIoDispatch->FastIoWrite)( FileObject,
                                                     FileOffset,
                                                     Length,
                                                     Wait,
                                                     LockKey,
                                                     Buffer,
                                                     IoStatus,
                                                     deviceObject);
    } else {
        returnValue = FALSE;
    }

SpyFastIoWrite_Exit:
    if (shouldLog) {
        //
        // Log the necessary information for the end of the Fast I/O operation
        // if we were able to allocate a RecordList to store this information
        //
        if (recordList) {
            SpyLogFastIoComplete(
                0, 
                FileObject, 
                IoStatus, 
                recordList);
        }
    }
    return returnValue;
}
 
DBGSTATIC
BOOLEAN
SpyFastIoQueryBasicInfo(
    IN  PFILE_OBJECT            FileObject,
    IN  BOOLEAN                 Wait,
    OUT PFILE_BASIC_INFORMATION Buffer,
    OUT PIO_STATUS_BLOCK        IoStatus,
    IN  PDEVICE_OBJECT          DeviceObject
)
/*++

Routine Description:

    This routine is the fast I/O "pass through" routine for querying basic
    information about the file.

    This function simply invokes the next driver's cooresponding routine, or
    returns FALSE if the next driver does not implement the function.

Arguments:

    FileObject - Pointer to the file object to be queried.

    Wait - Indicates whether or not the caller is willing to wait if the
        appropriate locks, etc. cannot be acquired

    Buffer - Pointer to the caller's buffer to receive the information about
        the file.

    IoStatus - Pointer to a variable to receive the I/O status of the
        operation.

    DeviceObject - Pointer to this driver's device object, the device on
        which the operation is to occur.

Return Value:

    The function value is TRUE or FALSE based on whether or not fast I/O
    is possible for this file.

--*/
{
    PDEVICE_OBJECT     deviceObject;
    PFAST_IO_DISPATCH  fastIoDispatch;
    BOOLEAN            returnValue;
    PRECORD_LIST       recordList;
    BOOLEAN            shouldLog;

    PAGED_CODE();
    
    if (DeviceObject->DeviceExtension == NULL) {
        return FALSE;
    }
    
    if (shouldLog = SHOULD_LOG(DeviceObject)) {
        //
        // Log the necessary information for the start of the Fast I/O 
        // operation
        //
        recordList = SpyLogFastIoStart(
            QUERY_BASIC_INFO,
            0,
            FileObject,
            NULL,
            0,
            Wait );
    }


    //
    // Pass through logic for this type of Fast I/O
    //
    deviceObject = 
        ((PDEVICE_EXTENSION) (DeviceObject->DeviceExtension))->
            NextDriverDeviceObject;
    if (!deviceObject) {
        returnValue = FALSE;
        goto SpyFastIoQueryBasicInfo_Exit;
    }
    fastIoDispatch = deviceObject->DriverObject->FastIoDispatch;

    if (VALID_FAST_IO_DISPATCH_HANDLER( fastIoDispatch, FastIoQueryBasicInfo )) {
        returnValue = (fastIoDispatch->FastIoQueryBasicInfo)( FileObject,
                                                              Wait,
                                                              Buffer,
                                                              IoStatus,
                                                              deviceObject);
    } else {
        returnValue = FALSE;
    }

SpyFastIoQueryBasicInfo_Exit:
    if (shouldLog) {
        //
        // Log the necessary information for the end of the Fast I/O operation
        // if we were able to allocate a RecordList to store this information
        //
        if (recordList) {
            SpyLogFastIoComplete(
                0, 
                FileObject, 
                IoStatus, 
                recordList);
        }
    }
    return returnValue;
}
 
DBGSTATIC
BOOLEAN
SpyFastIoQueryStandardInfo(
    IN  PFILE_OBJECT                FileObject,
    IN  BOOLEAN                     Wait,
    OUT PFILE_STANDARD_INFORMATION  Buffer,
    OUT PIO_STATUS_BLOCK            IoStatus,
    IN  PDEVICE_OBJECT              DeviceObject
)
/*++

Routine Description:

    This routine is the fast I/O "pass through" routine for querying standard    information about the file.

    This function simply invokes the next driver's cooresponding routine, or
    returns FALSE if the next driver does not implement the function.

Arguments:

    FileObject - Pointer to the file object to be queried.

    Wait - Indicates whether or not the caller is willing to wait if the
        appropriate locks, etc. cannot be acquired

    Buffer - Pointer to the caller's buffer to receive the information about
        the file.

    IoStatus - Pointer to a variable to receive the I/O status of the
        operation.

    DeviceObject - Pointer to this driver's device object, the device on
        which the operation is to occur.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产入口| 最新高清无码专区| 日本精品视频一区二区| 奇米精品一区二区三区在线观看| 国产女人18水真多18精品一级做| 欧美日韩精品一二三区| 成人黄色av电影| 久久国产精品99久久久久久老狼 | 中文字幕欧美激情一区| 欧美色爱综合网| www.成人网.com| 国产成人欧美日韩在线电影| 日韩国产高清在线| 亚洲免费三区一区二区| 国产精品久久免费看| 欧美zozozo| 欧美一级午夜免费电影| 欧美写真视频网站| 91一区二区三区在线播放| 国产成人免费视频精品含羞草妖精| 日韩成人一区二区| 日韩国产欧美在线视频| 亚洲理论在线观看| 国产精品欧美久久久久无广告| 精品国内片67194| 欧美一区二区三级| 欧美男男青年gay1069videost| 97久久精品人人做人人爽| 国产宾馆实践打屁股91| 精品一二三四区| 秋霞av亚洲一区二区三| 午夜私人影院久久久久| 亚洲国产美女搞黄色| 亚洲综合一二三区| 亚洲一区二区免费视频| 亚洲曰韩产成在线| 亚洲观看高清完整版在线观看| 一区二区三区中文字幕电影| 亚洲欧洲av色图| 亚洲视频在线一区二区| 亚洲免费伊人电影| 亚洲高清一区二区三区| 丝袜亚洲另类丝袜在线| 麻豆一区二区99久久久久| 久久超碰97中文字幕| 国产一区二区三区高清播放| 国产一区二区三区四| 国产精品夜夜爽| 成人h精品动漫一区二区三区| 99精品久久久久久| 欧美色综合天天久久综合精品| 欧美色综合久久| 日韩午夜小视频| 26uuu亚洲综合色欧美| 国产片一区二区| 亚洲欧美综合网| 亚洲午夜激情av| 精品在线你懂的| 成人黄色片在线观看| 色国产综合视频| 91精品国产综合久久久久久漫画| 日韩欧美的一区| 国产精品嫩草久久久久| 亚洲一二三区视频在线观看| 日本欧美肥老太交大片| 国产一区二区在线影院| 波波电影院一区二区三区| 欧美性色黄大片手机版| 日韩精品中文字幕一区| 国产精品嫩草99a| 亚洲成av人片| 国产在线不卡一区| 色综合激情久久| 日韩精品中文字幕一区| 亚洲少妇30p| 男女男精品视频网| 不卡一区二区中文字幕| 91精品国产丝袜白色高跟鞋| 久久久91精品国产一区二区三区| 综合精品久久久| 欧美aaaaaa午夜精品| 99久久精品国产网站| 欧美一区日韩一区| 亚洲欧美一区二区在线观看| 日韩福利视频导航| av激情综合网| 欧美成人精品高清在线播放| 亚洲免费大片在线观看| 久久av中文字幕片| 欧美少妇bbb| 国产精品女同互慰在线看| 人妖欧美一区二区| 91在线精品一区二区| 日韩午夜激情电影| 一区二区三区四区不卡在线| 国产精品18久久久久久久久久久久 | 久久一日本道色综合| 亚洲一区在线看| 成人a区在线观看| 精品免费视频.| 亚洲va在线va天堂| 99国产欧美久久久精品| 欧美电影免费观看高清完整版在线 | 亚洲另类在线制服丝袜| 激情文学综合丁香| 在线成人免费观看| 亚洲人成网站在线| 成人精品一区二区三区中文字幕| 欧美一级夜夜爽| 亚洲va欧美va人人爽| 色综合久久久久综合体| 国产精品三级av| 国产剧情一区在线| 欧美成人精品高清在线播放 | 成人午夜伦理影院| 亚洲精品在线一区二区| 日韩电影免费一区| 欧美日本在线一区| 亚洲一区二区精品久久av| 色欧美乱欧美15图片| 专区另类欧美日韩| av日韩在线网站| 国产精品女主播av| 懂色av中文字幕一区二区三区| 2024国产精品| 韩国精品久久久| 亚洲精品一区二区三区福利| 免费看日韩精品| 日韩欧美的一区| 国产在线精品免费av| 精品日韩一区二区| 精品亚洲aⅴ乱码一区二区三区| 日韩一级成人av| 精品一区二区在线观看| 精品国产91洋老外米糕| 国产伦精品一区二区三区视频青涩| 日韩视频一区二区| 麻豆成人免费电影| 欧美不卡一区二区三区四区| 毛片一区二区三区| 欧美精品一区二区三区蜜臀| 精品在线免费观看| 久久久久久久国产精品影院| 国产精品一二三区| 一区免费观看视频| 欧美在线观看禁18| 视频一区在线视频| 日韩欧美视频一区| 国产成人免费在线观看| 国产精品久久久久久户外露出 | 99久久精品国产毛片| 一区二区在线观看视频在线观看| 在线看日本不卡| 天堂va蜜桃一区二区三区| 欧美大胆人体bbbb| 国产99久久久久| 夜夜精品视频一区二区| 91精品婷婷国产综合久久性色| 美国十次综合导航| 国产精品美女一区二区三区| 91免费看视频| 性久久久久久久久| 精品av综合导航| 色综合久久久久久久| 日韩av一区二区三区四区| 精品国产91洋老外米糕| 91亚洲永久精品| 麻豆精品一区二区av白丝在线| 国产人成一区二区三区影院| 色综合色综合色综合| 蜜桃视频在线观看一区二区| 欧美激情在线一区二区| 91精品1区2区| 国产米奇在线777精品观看| 综合久久久久久| 日韩精品专区在线| 99精品久久只有精品| 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美国产日本视频| 欧美男女性生活在线直播观看| 国产精品一二三四| 丝袜美腿亚洲一区| 中文字幕在线不卡一区二区三区| 欧美精品自拍偷拍动漫精品| 丁香六月久久综合狠狠色| 亚洲成a天堂v人片| 中文字幕亚洲精品在线观看| 91精品国产综合久久香蕉麻豆| 成人h精品动漫一区二区三区| 秋霞午夜鲁丝一区二区老狼| 亚洲人成网站色在线观看| 日韩精品一区二区三区四区| 色综合天天综合给合国产| 久久国产综合精品| 亚洲午夜电影网| 国产精品不卡一区二区三区| 欧美成人艳星乳罩| 欧美日韩情趣电影| 日本精品视频一区二区| 成人理论电影网|