次の方法で共有


IDebugModule2::GetInfo

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

Gets information about this module.

Syntax

HRESULT GetInfo( 
   MODULE_INFO_FIELDS dwFields,
   MODULE_INFO*       pInfo
);
int GetInfo( 
   enum_MODULE_INFO_FIELDS dwFields,
   MODULE_INFO[]           pInfo
);

Parameters

dwFields
[in] A combination of flags from the MODULE_INFO_FIELDS enumeration that specify which fields of pInfo are to be filled out.

pInfo
[in, out] A MODULE_INFO structure that is filled in with a description of the module.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The MODULE_INFO structure contains the name of the module that is displayed in the Modules window.

See also