共用方式為


IDebugModule2::GetInfo

Gets information about this module.

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

Reference

IDebugModule2

MODULE_INFO_FIELDS

MODULE_INFO