PurgePolicyCacheFile method

This method is deprecated.

Purges data stored in the FESF Policy Cache for a specific file.

Syntax

HRESULT

PurgePolicyCacheFile(

    [in]  BSTR FullPath

)

Parameters

FullPath [in]

A string representing the fully qualified path name of the file to be purged.

Return value

If the method succeeds, S_OK is returned.

If the method fails for any reason, an appropriate error code is returned.

Remarks

Important: This method is deprecated and is pending removal from FESF. Do not use it. Convert existing code that uses it as soon as possible. Use the equivalent function provided by the FesfUtil2 Library.

A Policy DLL may call this method to cause FESF to remove all references to a given file from its Policy Cache.  Note that there may be some delay between the time this method is called and the Policy Cache is completely purged for the given file.

For more information, see FESF Policy Caching.

This method relies on support from the FESF Kernel Mode Components.  Note that methods in the FESF Utility library are only designed for use when FESF is installed and the FESF Kernel Mode Components are running.

Examples

 

See Also

 

 

Requirements

Software version

FESF V1 (or later)

DLL

FESFUtility.DLL

Supported FESF State

FESF Online State

Type Library

\UM_FESF\UMLIB\FESFUTILITY.TLB

IID

IFesfUtil  (please use the defintion from the Type Library)

CLSID

FesfUtil (please use the definition from the Type Library)