Function: enum

Return a list of all modules

This function is safe

Exceptions

If unable to create a snapshot, no modules exist, unable to convert from utf16 to utf8, or load library.

Return Value

Returns a [Module] containing all of the process’s modules.