Edit

Share via


IDebugHostModule4::FindTypeByName2 method (dbgmodel.h)

The FindTypeByName2 method finds a type by name within the module. If an enclosing symbol is given, the type is looked for by name within that enclosing symbol; otherwise, the type is looked for globally.

Syntax

HRESULT FindTypeByName2(
  IDebugHostSymbol *pEnclosingSymbol,
  PCWSTR           typeName,
  IDebugHostType   **type
);

Parameters

pEnclosingSymbol

Optional parameter. If provided, the method looks for the type within this enclosing symbol.

typeName

The name of the type to search for.

type

Pointer to where the found IDebugHostType object will be stored.

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostModule4 interface