filehc.h header

This header is used by Developer Notes. For more information, see:

filehc.h contains the following programming interfaces:

Functions

 
AssociateContextWithName

Inserts a name into the name cache to find a specified FIO_CONTEXT structure.
AssociateFileEx

Associates a file with an asnychronous context.
CacheCreateFile

Creates a file in the cache or finds an existing file.
CacheRichCreateFile

Creates a file in the cache or finds an existing file and allows properties to be added to it in the cache.
FindOrCreateNameCache

Finds or creates a name cache.
FindSyncContextFromName

Retrieves the FIO_CONTEXT structure that is associated with the specified user name.
GetDotStuffState

Determines whether dots are added to the file when any dot stuffing mechanisms are turned on.
GetFileSizeFromContext

Reports the file size cached with the handle.
InitializeCache

Provides the initializing values of the file handle cache.
InsertFile

Inserts a file into the cache.
InvalidateName

Enables the user to remove a single name and all associated data from the name cache.
ProduceDotStuffedContext

Retrieves the FIO_CONTEXT structure with the requested state.
ReleaseNameCache

Releases a name cache.
SetDotStuffingOnWrites

Enables dot-stuffing properties on the write path of the file handle cache of the message.
SetDotStuffState

Enables dot stuffing to be set in an FIO_CONTEXT structure.
TerminateCache

Eliminates the cache and ends asynchronous I/O with the DLL.

Callback functions

 
CACHE_DESTROY_CALLBACK

A function that is called whenever an entry in the name cache is destroyed.
CACHE_READ_CALLBACK

A callback that is provided to the cache to help examine items within the cache.
FCACHE_CREATE_CALLBACK

A callback function that is used to create items in the cache. (FCACHE_CREATE_CALLBACK)
FCACHE_RICHCREATE_CALLBACK

A callback function that is used to create items in the cache. (FCACHE_RICHCREATE_CALLBACK)

Structures

 
NAME_CACHE_CONTEXT

Represents a name cache.