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.

Syntax

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