VSPIAImporterClass.WrapTypeLibrary Method

Definition

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

public:
 virtual int WrapTypeLibrary(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, System::String ^ wszDestinationDirectory, System::String ^ wszKeyFile, System::String ^ wszKeyContainer, int bDelaySign, Microsoft::VisualStudio::Shell::Interop::IVsTypeLibraryWrapperCallback ^ pCallback, cli::array <IntPtr> ^ rgbstrWrapperPaths, cli::array <IntPtr> ^ rgWrappedTypeLibs, cli::array <IntPtr> ^ rgbGenerated, cli::array <IntPtr> ^ rgbstrWrapperTools, [Runtime::InteropServices::Out] System::UInt32 % pcWrappedTypeLibs) = Microsoft::VisualStudio::Shell::Interop::IVsTypeLibraryWrapper::WrapTypeLibrary;
public:
 virtual int WrapTypeLibrary(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, System::String ^ wszDestinationDirectory, System::String ^ wszKeyFile, System::String ^ wszKeyContainer, int bDelaySign, Microsoft::VisualStudio::Shell::Interop::IVsTypeLibraryWrapperCallback ^ pCallback, cli::array <IntPtr> ^ rgbstrWrapperPaths, cli::array <IntPtr> ^ rgWrappedTypeLibs, cli::array <IntPtr> ^ rgbGenerated, cli::array <IntPtr> ^ rgbstrWrapperTools, [Runtime::InteropServices::Out] System::UInt32 % pcWrappedTypeLibs);
public virtual int WrapTypeLibrary (Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] pTypeLibToWrap, string wszDestinationDirectory, string wszKeyFile, string wszKeyContainer, int bDelaySign, Microsoft.VisualStudio.Shell.Interop.IVsTypeLibraryWrapperCallback pCallback, IntPtr[] rgbstrWrapperPaths, IntPtr[] rgWrappedTypeLibs, IntPtr[] rgbGenerated, IntPtr[] rgbstrWrapperTools, out uint pcWrappedTypeLibs);
abstract member WrapTypeLibrary : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string * string * string * int * Microsoft.VisualStudio.Shell.Interop.IVsTypeLibraryWrapperCallback * nativeint[] * nativeint[] * nativeint[] * nativeint[] * uint32 -> int
override this.WrapTypeLibrary : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string * string * string * int * Microsoft.VisualStudio.Shell.Interop.IVsTypeLibraryWrapperCallback * nativeint[] * nativeint[] * nativeint[] * nativeint[] * uint32 -> int
Public Overridable Function WrapTypeLibrary (pTypeLibToWrap As TLIBATTR(), wszDestinationDirectory As String, wszKeyFile As String, wszKeyContainer As String, bDelaySign As Integer, pCallback As IVsTypeLibraryWrapperCallback, rgbstrWrapperPaths As IntPtr(), rgWrappedTypeLibs As IntPtr(), rgbGenerated As IntPtr(), rgbstrWrapperTools As IntPtr(), ByRef pcWrappedTypeLibs As UInteger) As Integer

Parameters

pTypeLibToWrap
TLIBATTR[]

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

wszDestinationDirectory
String

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

wszKeyFile
String

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

wszKeyContainer
String

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

bDelaySign
Int32

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

pCallback
IVsTypeLibraryWrapperCallback

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

rgbstrWrapperPaths

IntPtr[]

nativeint[]

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

rgWrappedTypeLibs

IntPtr[]

nativeint[]

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

rgbGenerated

IntPtr[]

nativeint[]

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

rgbstrWrapperTools

IntPtr[]

nativeint[]

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

pcWrappedTypeLibs
UInt32

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

Returns

Returns S_OK if the method is successful, E_FAIL if the method fails.

Implements

Applies to