EaseFilter Demo Project
|
EaseFltCSConsoleDemo/FileIOControlService.cs
Go to the documentation of this file.
23 public static bool IOAccessControl(FilterAPI.MessageSendData messageSend, ref FilterAPI.MessageReplyData messageReply)
34 //here you can control all the registered IO requests,block the access or modify the I/O data base on the file IO information from MessageSend struture
38 //if you don't want to change anything to this IO request, just let it pass through as below setting:
42 //if you want to block the access this IO request before it goes down to the file system, you can return the status as below,
43 //it is only for pre IO requests, it means the user IO reuqests will be completed here instead of going down to the file system.
47 //if you want to modify the IO data and complete the pre IO with your own data, you can return status as below:
48 // messageReply.FilterStatus = (uint)FilterAPI.FilterStatus.FILTER_COMPLETE_PRE_OPERATION | (uint)FilterAPI.FilterStatus.FILTER_DATA_BUFFER_IS_UPDATED;
181 EventManager.WriteMessage(174, "IOAccessControl", EventLevel.Error, "IOAccessControl failed." + ex.Message);
static bool IOAccessControl(FilterAPI.MessageSendData messageSend, ref FilterAPI.MessageReplyData messageReply)
Definition: EaseFltCSConsoleDemo/FileIOControlService.cs:23
Definition: ConfigSetting.cs:17
Services Overview
Architect, implement and test file system filter drivers for a wide range of functionality. We can offer several levels of assistance to meet your specific.
Contact Us
You are welcome to contact us for salse or partnership.
Sales: sales@easefilter.com
Support: support@easefilter.com
Info: info@easefilter.com