ExportTypeForwarder Method
Adds a type forwarder to the type table of the given assembly.
Syntax
HRESULT ExportTypeForwarder(
mdAssemblyRef tkAssemblyRef,
LPCWSTR pszTypename,
DWORD dwFlags,
mdExportedType* pType
) PURE;
Parameters
tkAssemblyRef
Reference to the assembly to which the type forwarder refers.
pszTypename
Fully qualified type name to export.
dwFlags
ComType
flags such as tdPublic
or tdNested
. This value may be passed to DefineExportedType Method.
pType
Receives the token of the exported type. This is necessary only for emitting nested types.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for