Share via


IVsTypeLibraryWrapperCallback Interface

Definition

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

public interface class IVsTypeLibraryWrapperCallback
public interface class IVsTypeLibraryWrapperCallback
__interface IVsTypeLibraryWrapperCallback
[System.Runtime.InteropServices.Guid("AFF2B95E-229B-4A14-A422-E99452AD2F8C")]
[System.Runtime.InteropServices.InterfaceType(1)]
[System.Runtime.InteropServices.TypeLibType(528)]
public interface IVsTypeLibraryWrapperCallback
[System.Runtime.InteropServices.Guid("AFF2B95E-229B-4A14-A422-E99452AD2F8C")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTypeLibraryWrapperCallback
[<System.Runtime.InteropServices.Guid("AFF2B95E-229B-4A14-A422-E99452AD2F8C")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
[<System.Runtime.InteropServices.TypeLibType(528)>]
type IVsTypeLibraryWrapperCallback = interface
[<System.Runtime.InteropServices.Guid("AFF2B95E-229B-4A14-A422-E99452AD2F8C")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTypeLibraryWrapperCallback = interface
Public Interface IVsTypeLibraryWrapperCallback
Attributes

Remarks

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.

Methods

GetAssembly(String, String)

Returns a path to an assembly if the assembly is referenced. If the assembly is not referenced, returns an error code.

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

Returns a COM classic TLIBATTR wrapper structure for a given type library and wrapper tool combination.

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

Returns a COM classic wrapper name for a given type library and wrapper tool combination.

Applies to