Share via


ExportNestedTypeForwarder Method

Adds a type forwarder for a nested type to the type table of the given assembly.

HRESULT ExportNestedTypeForwarder(
    mdAssembly      AssemblyID,
    mdToken         FileToken,
    mdTypeDef       TypeToken,
    mdExportedType  ParentType,
    LPCWSTR         pszTypename,
    DWORD           dwFlags,
    mdExportedType* pType
) PURE;

Parameters

  • AssemblyID
    ID of the assembly to export from.
  • FileToken
    File token or assembly ID of file that defines the type.
  • TypeToken
    Token for the type.
  • ParentType
    Token of parent type.
  • pszTypename
    Fully qualified type name to export.
  • dwFlags
    ComType flags such as tdPublic or tdNested.
  • pType
    Receives token of export type. This is necessary only for emitting nested types.

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