File System Runtime Library Routines

This section describes the system-supplied FsRtlXxx support routines and macros that are used by kernel-mode file systems and file system filter drivers. These routines and macros are described in alphabetical order.

In this section

TopicDescription

FsRtlAcknowledgeEcp

The FsRtlAcknowledgeEcp routine marks an extra create parameter (ECP) context structure as acknowledged.

FsRtlAcquireFileExclusive

Reserved for system use.

FsRtlAddLargeMcbEntry

The FsRtlAddLargeMcbEntry routine adds a new mapping to an existing map control block (MCB).

FsRtlAddMcbEntry

Obsolete.

FsRtlAddToTunnelCache

The FsRtlAddToTunnelCache routine caches a file name that is removed from a directory when a file is renamed or deleted.

FsRtlAllocateExtraCreateParameter

The FsRtlAllocateExtraCreateParameter routine allocates memory for a user-defined extra create parameter (ECP) context structure and generates a pointer to that structure.

FsRtlAllocateExtraCreateParameterFromLookasideList

The FsRtlAllocateExtraCreateParameterFromLookasideList routine allocates memory pool from a given lookaside list for an extra create parameter (ECP) context structure, and generates a pointer to that structure.

FsRtlAllocateExtraCreateParameterList

The FsRtlAllocateExtraCreateParameterList routine allocates paged pool memory for an ECP_LIST structure and generates a pointer to that structure.

FsRtlAllocateFileLock

The FsRtlAllocateFileLock routine allocates and initializes a new FILE_LOCK structure.

FsRtlAllocatePool

Obsolete.

FsRtlAllocatePoolWithQuota

Obsolete

FsRtlAllocatePoolWithQuotaTag

The FsRtlAllocatePoolWithQuotaTag routine allocates pool memory, charging quota against the current process.

FsRtlAllocatePoolWithTag

The FsRtlAllocatePoolWithTag routine allocates pool memory.

FsRtlAllocateResource

Obsolete.

FsRtlAreNamesEqual

The FsRtlAreNamesEqual routine determines whether two Unicode strings are equal.

FsRtlAreThereCurrentFileLocks

The FsRtlAreThereCurrentFileLocks macro checks whether any byte range locks exist for the specified file.

FsRtlAreThereCurrentOrInProgressFileLocks

TheFsRtlAreThereCurrentOrInProgressFileLocks routine determines if there are byte range locks assigned to a file or any lock operations in progress for that file.

FsRtlAreVolumeStartupApplicationsComplete

The FsRtlAreVolumeStartupApplicationsComplete function determines whether volume startup applications have completed processing.

FsRtlAreThereWaitingFileLocks

The FsRtlAreThereWaitingFileLocks routine checks a file lock queue for any waiting file locks.

FsRtlBalanceReads

The FsRtlBalanceReads routine signals to a fault-tolerant disk driver that it is now safe to start balancing reads from a mirrored drive.

FsRtlCancellableWaitForMultipleObjects

The FsRtlCancellableWaitForMultipleObjects routine executes a cancelable wait operation (a wait that can be terminated) on one or more dispatcher objects.

FsRtlCancellableWaitForSingleObject

The FsRtlCancellableWaitForSingleObject routine executes a cancelable wait operation (a wait that can be terminated) on a dispatcher object.

FsRtlChangeBackingFileObject

The FsRtlChangeBackingFileObject routine replaces the current file object with a new file object.

FsRtlCheckLockForReadAccess

The FsRtlCheckLockForReadAccess routine determines whether the process associated with a given IRP has read access to a locked region of a file.

FsRtlCheckLockForWriteAccess

The FsRtlCheckLockForWriteAccess routine determines whether the process associated with a given IRP has write access to a locked region of a file.

FsRtlCheckLockForOplockRequest

The FsRtlCheckLockForOplockRequest routine checks for locks within the allocation size of a file. The file lock object is checked for the presence of byte range locks that would prevent an oplock request from being granted.

FsRtlCheckOplock

The FsRtlCheckOplock routine synchronizes the IRP for a file I/O operation with the file's current opportunistic lock (oplock) state.

FsRtlCheckOplockEx

The FsRtlCheckOplockEx routine synchronizes the IRP for a file I/O operation with the current opportunistic lock (oplock) state of the file.

FsRtlCheckUpperOplock

The FsRtlCheckUpperOplock routine provides opportunistic lock (oplock) checking in secondary, or layered, file systems when the oplocks they hold change state.

FsRtlCompleteRequest

The FsRtlCompleteRequest macro completes an IRP with the specified status.

FsRtlCopyRead

The FsRtlCopyRead routine copies data from a cached file to a user buffer.

FsRtlCopyWrite

The FsRtlCopyWrite routine copies data from a user buffer to a cached file.

FsRtlCreateSectionForDataScan

The FsRtlCreateSectionForDataScan routine creates a section object. Use this routine with extreme caution. (See the following Remarks section.)

FsRtlCurrentBatchOplock

A file system or filter driver calls FsRtlCurrentBatchOplock to determine whether there are any batch or filter opportunistic locks (oplocks) on a file.

FsRtlCurrentOplock

A file system or filter driver calls FsRtlCurrentOplock to determine whether there are any opportunistic locks (oplocks) on a file.

FsRtlCurrentOplockH

A file system or filter driver calls FsRtlCurrentOplockH to determine whether there are any CACHE_HANDLE_LEVEL opportunistic locks (oplocks) on a file.

FsRtlDeleteExtraCreateParameterLookasideList

The FsRtlDeleteExtraCreateParameterLookasideList routine frees an extra create parameter (ECP) lookaside list.

FsRtlDeleteKeyFromTunnelCache

The FsRtlDeleteKeyFromTunnelCache routine deletes any tunnel cache entries for files in a directory that is being deleted.

FsRtlDeleteTunnelCache

The FsRtlDeleteTunnelCache routine deletes a tunnel cache.

FsRtlDeregisterUncProvider

The FsRtlDeregisterUncProvider routine deregisters a redirector that was registered as a Universal Naming Convention (UNC) provider with the multiple UNC provider (MUP).

FsRtlDissectDbcs

Given an ANSI or double-byte character set (DBCS) pathname string, the FsRtlDissectDbcs routine returns two strings: one containing the first file name found in the string, the other containing the remaining unparsed portion of the pathname string.

FsRtlDissectName

Given a Unicode pathname string, the FsRtlDissectName routine returns two strings, one containing the first file name found in the string, the other containing the remaining unparsed portion of the pathname string.

FsRtlDoesDbcsContainWildCards

The FsRtlDoesDbcsContainWildCards routine determines whether an ANSI or double-byte character set (DBCS) string contains wildcard characters.

FsRtlDoesNameContainWildCards

The FsRtlDoesNameContainWildCards routine determines whether a Unicode string contains wildcard characters.

FsRtlEnterFileSystem

The FsRtlEnterFileSystem macro temporarily disables the delivery of normal kernel-mode asynchronous procedure calls (APC). Special kernel-mode APCs are still delivered.

FsRtlExitFileSystem

The FsRtlExitFileSystem macro re-enables the delivery of normal kernel-mode APCs that were disabled by a preceding call to FsRtlEnterFileSystem.

FsRtlFastCheckLockForRead

The FsRtlFastCheckLockForRead routine determines whether the specified process has read access to a locked byte range of a file.

FsRtlFastCheckLockForWrite

The FsRtlFastCheckLockForWrite routine determines whether the specified process has write access to a locked byte range of a file.

FsRtlFastLock

The FsRtlFastLock macro is used by file systems and filter drivers to request a byte-range lock for a file stream.

FsRtlFastUnlockAll

The FsRtlFastUnlockAll routine releases all byte-range locks that were acquired by the specified process for a file.

FsRtlFastUnlockAllByKey

The FsRtlFastUnlockAllByKey routine releases all byte-range locks that were acquired by the specified process, with the specified key value, for a file.

FsRtlFastUnlockSingle

The FsRtlFastUnlockSingle routine releases a byte-range lock that was acquired by the specified process, with the specified key value, file offset, and length, for a file.

FsRtlFindExtraCreateParameter

The FsRtlFindExtraCreateParameter routine searches a given ECP list for an ECP context structure of a given type and returns a pointer to this structure if it is found.

FsRtlFindInTunnelCache

The FsRtlFindInTunnelCache routine searches for a matching entry in the tunnel cache that matches the specified name.

FsRtlFreeExtraCreateParameter

The FsRtlFreeExtraCreateParameter routine frees the memory for an ECP context structure.

FsRtlFreeExtraCreateParameterList

The FsRtlFreeExtraCreateParameterList routine frees an extra create parameter (ECP) list structure.

FsRtlFreeFileLock

The FsRtlFreeFileLock routine uninitializes and frees a file lock structure.

FsRtlGetEcpListFromIrp

The FsRtlGetEcpListFromIrp routine returns a pointer to an extra create parameter (ECP) context structure list that is associated with a given IRP_MJ_CREATE operation.

FsRtlGetFileSize

The FsRtlGetFileSize routine is used to get the size of a file.

FsRtlGetNextExtraCreateParameter

The FsRtlGetNextExtraCreateParameter routine returns a pointer to the next (or first) extra create parameter (ECP) context structure in a given ECP list.

FsRtlGetNextFileLock

The FsRtlGetNextFileLock routine is used to enumerate the byte-range locks that currently exist for a specified file.

FsRtlGetNextLargeMcbEntry

The FsRtlGetNextLargeMcbEntry routine retrieves a mapping run from a map control block (MCB).

FsRtlGetNextMcbEntry

Obsolete.

FsRtlGetPerFileContextPointer

The FsRtlGetPerFileContextPointer macro returns a FileContextSupportPointer for an open file.

FsRtlGetPerStreamContextPointer

The FsRtlGetPerStreamContextPointer macro returns the file system's stream context for a file stream.

FsRtlGetSectorSizeInformation

The FsRtlGetSectorSizeInformation routine retrieves the physical and logical sector size information for a storage volume.

FsRtlGetSupportedFeatures

The FsRtlGetSupportedFeatures routine returns the supported features of a volume attached to the specified device object.

FsRtlIncrementCcFastMdlReadWait

The FsRtlIncrementCcFastMdlReadWait routine increments the cache manager's CcFastMdlReadWait performance counter member in a processor control block (PRCB) object.

FsRtlIncrementCcFastReadNotPossible

The FsRtlIncrementCcFastReadNotPossible routine increments the CcFastReadNotPossible performance counter in a per processor control block of cache manager system counters.

FsRtlIncrementCcFastReadNoWait

The FsRtlIncrementCcFastReadNoWait routine increments the CcFastReadNoWait performance counter in a per processor control block of cache manager system counters.

FsRtlIncrementCcFastReadResourceMiss

The FsRtlIncrementCcFastReadResourceMiss routine increments the CcFastReadNotPossible performance counter in a per processor control block of cache manager system counters.

FsRtlIncrementCcFastReadWait

The FsRtlIncrementCcFastReadWait routine increments the CcFastReadWait performance counter in a per processor control block of cache manager system counters.

FsRtlInitExtraCreateParameterLookasideList

The FsRtlInitExtraCreateParameterLookasideList routine initializes a paged or nonpaged pool lookaside list used for the allocation of one or more extra create parameter context structures (ECPs) of fixed size.

FsRtlInitializeExtraCreateParameter

The FsRtlInitializeExtraCreateParameter routine initializes an extra create parameter (ECP) context structure.

FsRtlInitializeExtraCreateParameterList

The FsRtlInitializeExtraCreateParameterList routine initializes an extra create parameter (ECP) context structure list.

FsRtlInitializeFileLock

The FsRtlInitializeFileLock routine initializes a FILE_LOCK structure.

FsRtlInitializeLargeMcb

The FsRtlInitializeLargeMcb routine initializes a map control block (MCB) structure.

FsRtlInitializeMcb

Obsolete.

FsRtlInitializeOplock

FsRtlInitializeOplock initializes an opportunistic lock (oplock) pointer.

FsRtlInitializeTunnelCache

The FsRtlInitializeTunnelCache routine initializes a new tunnel cache for a volume.

FsRtlInitPerFileContext

The FsRtlInitPerFileContext macro initializes a FSRTL_PER_FILE_CONTEXT structure.

FsRtlInitPerFileObjectContext

The FsRtlInitPerFileObjectContext macro initializes a FSRTL_PER_FILEOBJECT_CONTEXT structure.

FsRtlInitPerStreamContext

The FsRtlInitPerStreamContext macro initializes a filter driver context structure.

FsRtlInsertExtraCreateParameter

The FsRtlInsertExtraCreateParameter routine inserts an extra create parameter (ECP) context structure into an ECP list.

FsRtlInsertPerFileContext

The FsRtlInsertPerFileContext routine associates a FSRTL_PER_FILE_CONTEXT object with a driver-specified context object for a file.

FsRtlInsertPerFileObjectContext

For a "legacy" file system filter driver, the FsRtlInsertPerFileObjectContext function associates context information with a file object.

FsRtlInsertPerStreamContext

The FsRtlInsertPerStreamContext routine associates a file system filter driver's per-stream context structure with a file stream.

FsRtlIsAnsiCharacterLegal

The FsRtlIsAnsiCharacterLegal macro determines whether a character is a legal ANSI character.

FsRtlIsAnsiCharacterLegalFat

The FsRtlIsAnsiCharacterLegalFat macro determines whether an ANSI character is legal for FAT file names.

FsRtlIsAnsiCharacterLegalHpfs

The FsRtlIsAnsiCharacterLegalHpfs macro determines whether an ANSI character is legal for HPFS file names.

FsRtlIsAnsiCharacterLegalNtfs

The FsRtlIsAnsiCharacterLegalNtfs macro determines whether an ANSI character is legal for NTFS file names.

FsRtlIsAnsiCharacterLegalNtfsStream

The FsRtlIsAnsiCharacterLegalNtfsStream macro determines whether an ANSI character is legal for NTFS stream names.

FsRtlIsAnsiCharacterWild

The FsRtlIsAnsiCharacterWild macro determines whether an ANSI character is a wildcard character.

FsRtlIsDbcsInExpression

The FsRtlIsDbcsInExpression routine determines whether an ANSI or double-byte character set (DBCS) string matches the specified pattern.

FsRtlIsEcpAcknowledged

The FsRtlIsEcpAcknowledged routine is used to determine if a given extra create parameter (ECP) context structure has been marked as acknowledged.

FsRtlIsEcpFromUserMode

The FsRtlIsEcpFromUserMode routine determines whether an extra create parameter (ECP) context structure originated from user mode.

FsRtlIsFatDbcsLegal

The FsRtlIsFatDbcsLegal routine determines whether the specified ANSI or double-byte character set (DBCS) string is a legal FAT file name.

FsRtlIsHpfsDbcsLegal

The FsRtlIsHpfsDbcsLegal routine determines whether the specified ANSI or double-byte character set (DBCS) string is a legal HPFS file name.

FsRtlIsLeadDbcsCharacter

The FsRtlIsLeadDbcsCharacter macro determines whether a character is a lead byte (the first byte of a character) in a double-byte character set (DBCS).

FsRtlIsNameInExpression

The FsRtlIsNameInExpression routine determines whether a Unicode string matches the specified pattern.

FsRtlIsNtstatusExpected

The FsRtlIsNtstatusExpected routine determines whether the specified exception is handled by the exception filter.

FsRtlIsPagingFile

The FsRtlIsPagingFile routine determines whether a given file is a paging file.

FsRtlIssueDeviceIoControl

The FsRtlIssueDeviceIoControl routine sends a synchronous device I/O control request to a target device object.

FsRtlIsSystemPagingFile

The FsRtlIsSystemPagingFile routine determines whether a given file is currently a system paging file.

FsRtlIsTotalDeviceFailure

The FsRtlIsTotalDeviceFailure routine determines whether a media or other hardware failure has occurred.

FsRtlIsUnicodeCharacterWild

The FsRtlIsUnicodeCharacterWild macro determines whether a Unicode character is a wildcard character.

FsRtlLogCcFlushError

The FsRtlLogCcFlushError routine logs a lost delayed-write error and displays a dialog box to the user.

FsRtlLookupLargeMcbEntry

Given a virtual block number (VBN) and a map control block (MCB), the FsRtlLookupLargeMcbEntry routine searches the MCB for mapping information corresponding to the specified VBN.

FsRtlLookupLastLargeMcbEntry

The FsRtlLookupLastLargeMcbEntry routine retrieves the last mapping entry stored in the map control block (MCB).

FsRtlLookupLastLargeMcbEntryAndIndex

The FsRtlLookupLastLargeMcbEntryAndIndex routine retrieves the last mapping entry stored in a given map control block (MCB).

FsRtlLookupLastMcbEntry

Obsolete.

FsRtlLookupMcbEntry

Obsolete.

FsRtlLookupPerFileContext

The FsRtlLookupPerFileContext routine returns a pointer to a FSRTL_PER_FILE_CONTEXT object that is associated with a specified file.

FsRtlLookupPerFileObjectContext

For a "legacy" file system filter driver, the FsRtlLookupPerFileObjectContext function retrieves context information previously associated with a file object.

FsRtlLookupPerStreamContext

The FsRtlLookupPerStreamContext macro retrieves a per-stream context structure for a file stream.

FsRtlLookupPerStreamContextInternal

Reserved for system use.

FsRtlMdlReadCompleteDev

The FsRtlMdlReadCompleteDev routine completes the read operation that the FsRtlMdlReadDev routine initiated.

FsRtlMdlReadDev

The FsRtlMdlReadDev routine returns a memory descriptor list (MDL) that points directly to the specified byte range in the file cache.

FsRtlMdlReadEx

The FsRtlMdlReadEx routine performs a fast cached MDL read. If the requested data is not cached, the routine reverts to an IRP based MDL read operation.

FsRtlMdlWriteCompleteDev

The FsRtlMdlWriteCompleteDev routine frees the resources that FsRtlPrepareMdlWriteDev allocated.

FsRtlMupGetProviderIdFromName

The FsRtlMupGetProviderIdFromName routine gets the provider identifier of a network redirector that is registered with the multiple UNC provider (MUP) from the device name of the network redirector.

FsRtlMupGetProviderInfoFromFileObject

The FsRtlMupGetProviderInfoFromFileObject routine gets information about a network redirector that is registered with the multiple UNC provider (MUP) from a file object for a file that is located on a remote file system.

FsRtlNormalizeNtstatus

The FsRtlNormalizeNtstatus routine translates an arbitrary exception into a status value that is handled by the exception filter.

FsRtlNotifyCleanup

When the last handle to a file object is released, the FsRtlNotifyCleanup routine removes the file object's notify structure, if present, from the specified notify list.

FsRtlNotifyCleanupAll

The FsRtlNotifyCleanupAll routine removes all members of the specified notification list.

FsRtlNotifyFilterChangeDirectory

The FsRtlNotifyFilterChangeDirectory routine creates a notify structure for an IRP_MN_NOTIFY_CHANGE_DIRECTORY request and adds it to the specified notify list.

FsRtlNotifyFilterReportChange

FsRtlNotifyFilterReportChange completes IRP_MN_NOTIFY_CHANGE_DIRECTORY requests that are pending in the specified notify list.

FsRtlNotifyFullChangeDirectory

The FsRtlNotifyFullChangeDirectory routine creates a notify structure for a notification request and adds it to the specified notify list.

FsRtlNotifyFullReportChange

The FsRtlNotifyFullReportChange routine completes pending notify change IRPs.

FsRtlNotifyInitializeSync

The FsRtlNotifyInitializeSync routine allocates and initializes a synchronization object for a notify list.

FsRtlNotifyUninitializeSync

The FsRtlNotifyUninitializeSync routine deallocates the synchronization object for a notify list.

FsRtlNotifyVolumeEvent

The FsRtlNotifyVolumeEvent routine notifies any registered applications that a volume event is occurring.

FsRtlNotifyVolumeEventEx

The FsRtlNotifyVolumeEventEx routine notifies any registered applications that a volume event is occurring. Volume events include the volume being locked, unlocked, mounted, or made read-only.

FsRtlNumberOfRunsInLargeMcb

The FsRtlNumberOfRunsInLargeMcb routine returns the number of runs in a map control block (MCB).

FsRtlNumberOfRunsInMcb

Obsolete.

FsRtlOplockBreakH

The FsRtlOplockBreakH routine breaks CACHE_HANDLE_LEVEL opportunistic locks (oplocks).

FsRtlOplockBreakToNone

Obsolete.

FsRtlOplockBreakToNoneEx

The FsRtlOplockBreakToNoneEx routine breaks all opportunistic locks (oplocks) immediately without regard for any oplock key.

FsRtlOplockFsctrl

FsRtlOplockFsctrl performs various opportunistic lock (oplock) operations on behalf of a file system or filter driver.

FsRtlOplockFsctrlEx

The FsRtlOplockFsctrlEx routine performs various opportunistic lock (oplock) operations on behalf of a file system or filter driver.

FsRtlOplockIsFastIoPossible

FsRtlOplockIsFastIoPossible checks a file's opportunistic lock (oplock) state to determine whether fast I/O can be performed on the file.

FsRtlOplockIsSharedRequest

The FsRtlOplockIsSharedRequest routine determines if a request for an opportunistic lock (oplock) wants a shared oplock.

FsRtlOplockKeysEqual

The FsRtlOplockKeysEqual routine compares the opportunistic lock (oplock) keys that are stored in the file object extensions of two file objects.

FsRtlPostPagingFileStackOverflow

The FsRtlPostPagingFileStackOverflow routine posts a paging file stack overflow item to the stack overflow thread.

FsRtlPostStackOverflow

The FsRtlPostStackOverflow routine posts a stack overflow item to the stack overflow thread.

FsRtlPrepareMdlWriteEx

The FsRtlPrepareMdlWriteEx routine returns a linked list of memory descriptor lists (MDLs) that point to the specified range of cached file data to write data directly to the cache. If the cache support for the write is not available, the routine reverts to an IRP based MDL write operation.

FsRtlPrepareMdlWriteDev

The FsRtlPrepareMdlWriteDev routine returns a linked list of memory descriptor lists (MDLs) that point to the specified range of cached file data to write data directly to the cache.

FsRtlPrepareToReuseEcp

The FsRtlPrepareToReuseEcp routine resets an extra create parameter (ECP) context structure, which prepares it for reuse.

FsRtlPrivateLock

Obsolete.

FsRtlProcessFileLock

The FsRtlProcessFileLock routine processes and completes an IRP for a file lock operation.

FsRtlQueryCachedVdl

The current valid data length (VDL) for a cached file is retrieved with the FsRtlQueryCachedVdl routine.

FsRtlRegisterFileSystemFilterCallbacks

File system filter drivers and file systems call the FsRtlRegisterFileSystemFilterCallbacks routine to register notification callback routines to be invoked when the underlying file system performs certain operations.

FsRtlRegisterUncProvider

The FsRtlRegisterUncProvider routine registers a network redirector as a universal naming convention (UNC) provider with the system multiple UNC provider (MUP).

FsRtlRegisterUncProviderEx

The FsRtlRegisterUncProviderEx routine registers a network redirector as a universal naming convention (UNC) provider with the system multiple UNC provider (MUP).

FsRtlReleaseFile

Reserved for system use.

FsRtlRemoveDotsFromPath

The FsRtlRemoveDotsFromPath routine removes unnecessary occurrences of '.' and '..' from the specified path.

FsRtlRemoveExtraCreateParameter

The FsRtlRemoveExtraCreateParameter routine searches an ECP list for an ECP context structure and, if found, detaches it from the ECP list.

FsRtlRemoveLargeMcbEntry

The FsRtlRemoveLargeMcbEntry routine removes one or more mappings from a map control block (MCB).

FsRtlRemoveMcbEntry

Obsolete.

FsRtlRemovePerFileContext

The FsRtlRemovePerFileContext routine returns a pointer to a FSRTL_PER_FILE_CONTEXT object that is associated with a file. FsRtlRemovePerFileContext removes the FSRTL_PER_FILE_CONTEXT object from the list it occupies, along with the associated driver specific context information.

FsRtlRemovePerFileObjectContext

For a "legacy" file system filter driver, the FsRtlRemovePerFileObjectContext function unlinks a per-file-object context information structure from the list of per-file-object contexts previously associated with a file object.

FsRtlRemovePerStreamContext

FsRtlRemovePerStreamContext removes a per-stream context structure from the list of per-stream contexts associated with a file stream.

FsRtlResetLargeMcb

The FsRtlResetLargeMcb routine truncates a map control block (MCB) structure to contain zero mapping pairs. It does not shrink the mapping pairs array.

FsRtlSetEcpListIntoIrp

The FsRtlSetEcpListIntoIrp routine attaches an extra create parameter (ECP) context structure list to an IRP_MJ_CREATE operation.

FsRtlSetupAdvancedHeader

The FsRtlSetupAdvancedHeader macro is used by file systems to initialize an FSRTL_ADVANCED_FCB_HEADER structure for use with filter contexts.

FsRtlSetupAdvancedHeaderEx

The FsRtlSetupAdvancedHeaderEx macro is used by file systems to initialize an FSRTL_ADVANCED_FCB_HEADER structure for use with both stream and file contexts.

FsRtlSplitLargeMcb

The FsRtlSplitLargeMcb routine inserts a hole into the mappings in a map control block (MCB).

FsRtlSupportsPerFileContexts

The FsRtlSupportsPerFileContexts macro checks if per file context information is supported by the file system that is associated with a specified FILE_OBJECT.

FsRtlSupportsPerStreamContexts

The FsRtlSupportsPerStreamContexts macro determines whether a file system supports per-stream contexts for a given file stream.

FsRtlTeardownPerFileContexts

File systems call theFsRtlTeardownPerFileContexts routine to free FSRTL_PER_FILE_CONTEXT objects that are associated with a file control block (FCB) structure.

FsRtlTeardownPerStreamContexts

The FsRtlTeardownPerStreamContexts routine frees all per-stream context structures associated with a given FSRTL_ADVANCED_FCB_HEADER structure.

FsRtlTestAnsiCharacter

The FsRtlTestAnsiCharacter macro determines whether an ANSI or double-byte character set (DBCS) character meets the specified criteria.

FsRtlTruncateLargeMcb

The FsRtlTruncateLargeMcb routine truncates a large map control block (MCB).

FsRtlTruncateMcb

Obsolete.

FsRtlUninitializeFileLock

The FsRtlUninitializeFileLock routine uninitializes a FILE_LOCK structure.

FsRtlUninitializeLargeMcb

The FsRtlUninitializeLargeMcb routine uninitializes a large map-control block (MCB).

FsRtlUninitializeMcb

Obsolete.

FsRtlUninitializeOplock

FsRtlUninitializeOplock uninitializes an opportunistic lock (oplock) pointer.

FsRtlUpperOplockFsctrl

The FsRtlUpperOplockFsctrl routine processes opportunistic lock (oplock) requests and acknowledgments for secondary, or layered, file systems.

FsRtlValidateReparsePointBuffer

The FsRtlValidateReparsePointBuffer routine verifies that the specified reparse point buffer is valid.

 

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft