Share via


EmitManifest Method

Emits the final manifest. Call this method after importing all other files and setting all options. Do not call this method for unbound modules.

HRESULT EmitManifest(
    mdAssembly   AssemblyID,
    DWORD*       pdwReserveSize,
    mdAssembly*  ptkManifest
) PURE;

Parameters

  • AssemblyID
    ID of the assembly.

  • pdwReserveSize
    Receives the size to reserve in the assembly file, retrieved from StrongNameSignatureSize Function.

  • ptkManifest
    Optionally receives the assembly manifest token.

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