GetAssemblyIdentityFromFile Function

Gets a pointer to an IUnknown object with the specified IID in the assembly at the specified file path.

Syntax

HRESULT GetAssemblyIdentityFromFile (
    [in]  LPCWSTR   pwzFilePath,
    [in]  REFIID    riid,
    [out] IUnknown  **ppIdentity
 );

Parameters

pwzFilePath [in] A valid path to the requested assembly.

riid [in] The IID of the interface to return.

ppIdentity [out] The returned interface pointer.

Requirements

Platforms: See System Requirements.

Header: Fusion.h

Library:

  • Fusion.dll
  • Clr.dll
  • MSCorWks.dll

.NET Framework Versions: Available since 2.0

See also