IMetaDataDispenserEx::FindAssemblyModule method (rometadataapi.h)

Finds the name of the assembly module.

Syntax

HRESULT FindAssemblyModule(
  [in]  LPCWSTR szAppBase,
  [in]  LPCWSTR szPrivateBin,
  [in]  LPCWSTR szGlobalBin,
  [in]  LPCWSTR szAssemblyName,
  [in]  LPCWSTR szModuleName,
  [out] LPWSTR  szName,
  [in]  ULONG   cchName,
  [out] ULONG   *pcName
);

Parameters

[in] szAppBase

Not used.

[in] szPrivateBin

Not used.

[in] szGlobalBin

Not used.

[in] szAssemblyName

The assembly to be found.

[in] szModuleName

The name of the module.

[out] szName

The simple name of the assembly.

[in] cchName

The size, in bytes, of szName.

[out] pcName

The number of characters actually returned in szName.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataDispenserEx