Debugging Tools for Windows

GetDebuggerCacheSize

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
    );

Parameters

CacheSize
Receives the size of the debugger's cache.

Return Value

If the function succeeds, the return value is TRUE; otherwise, it is FALSE.

Comments

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.

Requirements

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).

See Also

.cache (Set Cache Size)

Build machine: CAPEBUILD