FLT_SET_CONTEXT_REPLACE_IF_EXISTS如果已为实例设置上下文,FltSetStreamContext会将它替换为NewContext中指定的上下文。 否则,它将NewContext插入文件流的上下文列表中。 FLT_SET_CONTEXT_KEEP_IF_EXISTS如果已为此实例设置上下文,FltSetStreamContext将返回STATUS_FLT_CONTEXT_ALREADY_DEFINED,并且不会替换现有上下文或递...
FLT_SET_CONTEXT_KEEP_IF_EXISTS If a context is already set for this Instance, return STATUS_FLT_CONTEXT_ALREADY_DEFINED. Otherwise, insert NewContext into the list of contexts for the file stream. NewContext A pointer to the new context to be set for the file stream. This parameter is re...
FLT_SET_CONTEXT_KEEP_IF_EXISTS If a context is already set for this Instance, FltSetStreamHandleContext will return STATUS_FLT_CONTEXT_ALREADY_DEFINED, and will not replace the existing context or increment the reference count. If a context has not already been set, the routine will ins...
FLT_SET_CONTEXT_KEEP_IF_EXISTS If a context is already set for this Instance, FltSetStreamHandleContext will return STATUS_FLT_CONTEXT_ALREADY_DEFINED, and will not replace the existing context or increment the reference count. If a context has not already been set, the routine will in...
FLT_VOLUME_CONTEXT(0x0001)分配卷上下文。 FLT_INSTANCE_CONTEXT(0x0002)分配实例上下文。 FLT_FILE_CONTEXT (0x0004)分配文件上下文。 FLT_STREAM_CONTEXT(0x0008)分配流上下文。 FLT_STREAMHANDLE_CONTEXT(0x0010)分配流句柄上下文。 FLT_TRANSACTION_CONTEXT(0x0020)分配事务上下文。
STATUS_INVALID_BUFFER_SIZEContextSizecannot be greater thanMAXUSHORT. This is an error code. STATUS_INVALID_PARAMETERAn invalid value was specified for theContextTypeor theContextSizeparameter. This is an error code. STATUS_NOT_SUPPORTEDThe file system does not support per-stream contexts. This is...
STATUS_INVALID_BUFFER_SIZEContextSizecannot be greater thanMAXUSHORT. This is an error code. STATUS_INVALID_PARAMETERAn invalid value was specified for theContextTypeor theContextSizeparameter. This is an error code. STATUS_NOT_SUPPORTEDThe file system does not support per-stream contexts. This is...
FLT_SET_CONTEXT_KEEP_IF_EXISTS If a context is already set for thisInstance, return STATUS_FLT_CONTEXT_ALREADY_DEFINED. Otherwise, insertNewContextinto the list of contexts for the stream handle. NewContext A pointer to the new context to be set for the stream handle. This parameter is requ...
filter()函数接收一个函数 f 和一个可迭代对象,这个函数 f 的作用是对每个元素进行判断,返回 True或...
TransactionContext Opaque member that contains the transaction miniversion ID value if theTransactionmember is notNULL. IfTransactionisNULL, the value ofTransactionContextis undefined. Filter Opaque filter pointer for the minifilter driver whose callback routine is being called for the operation. This po...