FesfUtil2PurgePolicyCache Function (thread variant)

Purges data stored in the FESF Policy Cache for the process identified by the specified thread.

Syntax (C++)

void

FesfUtil2PurgePolicyCache(uint32_t ThreadIdToPurge);

Syntax (C)

DWORD

FesfUtil2PurgePolicyCacheForThreadId_C([in] DWORD ThreadIdToPurge);

Parameters

ThreadIdToPurge

ID of a thread that identifies the process to be purged. If ThreadIdToPurge is zero, the FESF Policy Cache is purged for all processes in the system that are active at the time of the call.

Throws

Throws an FEU2Exception if an error is encountered.

Remarks

This function cause FESF to remove all references to a given process, or all processes, from its Policy Cache.  Note that there may be some delay between the time this function is called and the Policy Cache being completely purged. Even though this function takes a Thread ID, the FESF Policy Cache is purged for all threads in the process that owns the specified thread.

If the ThreadIdToPurge parameter is passed as zero, the FESF Policy Cache is purged for all threads and all processes.

Replaces

IFesfUtil:: PurgePolicyCacheThread