Jaa


MODULE_INFO

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Describes a particular module (DLL, EXE, or assembly).

Syntax

typedef struct tagMODULE_INFO { 
   MODULE_INFO_FIELDS dwValidFields;
   BSTR               m_bstrName;
   BSTR               m_bstrUrl;
   BSTR               m_bstrVersion;
   BSTR               m_bstrDebugMessage;
   UINT64             m_addrLoadAddress;
   UINT64             m_addrPreferredLoadAddress;
   DWORD              m_dwSize;
   DWORD              m_dwLoadOrder;
   FILETIME           m_TimeStamp;
   BSTR               m_bstrUrlSymbolLocation;
   MODULE_FLAGS       m_dwModuleFlags;
} MODULE_INFO;
public struct MODULE_INFO { 
   public uint     dwValidFields;
   public string   m_bstrName;
   public string   m_bstrUrl;
   public string   m_bstrVersion;
   public string   m_bstrDebugMessage;
   public ulong    m_addrLoadAddress;
   public ulong    m_addrPreferredLoadAddress;
   public uint     m_dwSize;
   public uint     m_dwLoadOrder;
   public FILETIME m_TimeStamp;
   public string   m_bstrUrlSymbolLocation;
   public uint     m_dwModuleFlags;
};

Members

dwValidFields
A combination of flags from the MODULE_INFO_FIELDS enumeration that specifies which fields are filled out.

m_bstrName
The module name.

m_bstrUrl
The module URL.

m_bstrVersion
The module version.

m_bstrDebugMessage
An optional message about the module, for example, "Symbols cannot be loaded."

m_addrLoadAddress
The module load address.

m_addrPreferredLoadAddress
The preferred load address of the module.

m_dwSize
The module size.

m_dwLoadOrder
The module load order.

m_TimeStamp
The time the symbol file was last modified.

m_bstrUrlSymbolLocation
The location of the symbol file (for example, ".\") specified in the module. Used as a starting location to find symbols for a module.

m_dwModuleFlags
A combination of flags from the MODULE_FLAGS enumeration that describes the module.

Remarks

This structure is passed to the GetInfo method where it is filled in.

This structure corresponds to each module listed in the Modules window.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also