Debugging Tools for Windows |
The GetDebuggerCacheSize function returns the size of the cache that is used by the debugger to hold data that was obtained from the target.
BOOL
GetDebuggerCacheSize(
OUT PULONG64 CacheSize
);
If the function succeeds, the return value is TRUE; otherwise, it is FALSE.
The size of the cache can be set and retrieved by using the .cache command.
Each target process has its own cache. The returned size is the size of the cache for the current target.
Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).