IMetaDataDispenserEx::FindAssembly method (rometadataapi.h)

Gets the name of the assembly.

Syntax

HRESULT FindAssembly(
  [in]  LPCWSTR szAppBase,
  [in]  LPCWSTR szPrivateBin,
  [in]  LPCWSTR szGlobalBin,
  [in]  LPCWSTR szAssemblyName,
  [out] LPWSTR  szName,
  [in]  ULONG   cchName,
  [out] ULONG   *pchName
);

Parameters

[in] szAppBase

Not used.

[in] szPrivateBin

Not used.

[in] szGlobalBin

Not used.

[in] szAssemblyName

The name of the assembly to find.

[out] szName

The simple name of the assembly.

[in] cchName

The size, in bytes, of szName.

[out] pchName

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