4f41bc7c_mpWriteDump__MiniDumpCallback___Description
[Flag] ModuleReferencedByMemory [Description] 
This flag is used together with MiniDumpScanMemory flag from MINIDUMP_TYPE enumeration. If the latter flag has been passed to MiniDumpWriteDump, the function will scan the stacks of all threads in the process, looking for pointers that point into the address ranges occupied by executables modules. After the scan has completed, MiniDumpWriteDump knows which modules are referenced from the thread stacks and which are not. If no one of the thread stacks references a module, it is very likely that the module is not needed to recover the call stacks, and information about this module can be excluded from the minidump (thus saving space). In order to let the callback function make the final decision, MiniDumpWriteDump sets ModuleReferencedByMemory flag for every module that is referenced from the stack, and clears this flag for all modules that are not referenced. In turn, the callback function can check the flag to see whether the module is referenced, and exclude the module from the minidump (by clearing its ModuleWriteModule(!) flag) if it is not.
DebugInfo.com - Effective minidumps (Part 2) (MiniDumpWriteDump, MiniDumpCallback)
Description