Freigeben über


AddImport Method

Adds imports to the assembly.

HRESULT AddImport(
    mdAssembly      AssemblyID,
    mdToken         ImportToken,
    DWORD           dwFlags,
    mdFile*         pFileToken
) PURE;

Parameters

  • AssemblyID
    Unique ID of assembly to be augmented.
  • pFileToken
    Pointer to token that receives the ID for the resulting file.

Return Value

Returns S_OK if the method succeeds.

Requirements

Requires alink.h

See Also

Concepts

ALink API (Unmanaged API Reference)

Other Resources

IALink Interface
IALink2 Interface