IVsTypeLibraryWrapperCallback Interface

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Allows the wrapper tools to communicate back to the project system and retrieve already existing wrappers for a given type library.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[TypeLibTypeAttribute(528)]
[InterfaceTypeAttribute(1)]
[GuidAttribute("AFF2B95E-229B-4A14-A422-E99452AD2F8C")]
public interface IVsTypeLibraryWrapperCallback

NameDescription
System_CAPS_pubmethodGetAssembly(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a path to an assembly if the assembly is referenced. If the assembly is not referenced, returns an error code.

System_CAPS_pubmethodGetComClassic(TLIBATTR[], String, Int32, String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a COM classic TLIBATTR wrapper structure for a given type library and wrapper tool combination.

System_CAPS_pubmethodGetComClassicByTypeLibName(String, TLIBATTR[], Int32, String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a COM classic wrapper name for a given type library and wrapper tool combination.

Use this interface to communicate back to the project system and retrieve already existing wrappers for a given type library. For example, if type library 'A' depends on type library 'B' and you call IVsTypeLibraryWrapper::WrapTypeLibrary(A), the wrapper tool will call back via IVsTypeLibraryWrapperCallBack to inquire if the project system already knows of a suitable wrapper for type library 'B'.

Notes to Implementers:

Implement this interface when consuming wrapper tools.

Return to top
Show: