VSPIAImporterClass::WrapTypeLibrary Method (array<TLIBATTR>^, String^, String^, String^, Int32, IVsTypeLibraryWrapperCallback^, array<IntPtr>^, array<IntPtr>^, array<IntPtr>^, array<IntPtr>^, UInt32)
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
public: virtual int WrapTypeLibrary( array<TLIBATTR>^ pTypeLibToWrap, String^ wszDestinationDirectory, String^ wszKeyFile, String^ wszKeyContainer, int bDelaySign, IVsTypeLibraryWrapperCallback^ pCallback, array<IntPtr>^ rgbstrWrapperPaths, array<IntPtr>^ rgWrappedTypeLibs, array<IntPtr>^ rgbGenerated, array<IntPtr>^ rgbstrWrapperTools, [OutAttribute] unsigned int% pcWrappedTypeLibs )
Parameters
- pTypeLibToWrap
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::TLIBATTR>^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- wszDestinationDirectory
-
Type:
System::String^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- wszKeyFile
-
Type:
System::String^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- wszKeyContainer
-
Type:
System::String^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- bDelaySign
-
Type:
System::Int32
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- pCallback
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTypeLibraryWrapperCallback^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- rgbstrWrapperPaths
-
Type:
array<System::IntPtr>^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- rgWrappedTypeLibs
-
Type:
array<System::IntPtr>^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- rgbGenerated
-
Type:
array<System::IntPtr>^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- rgbstrWrapperTools
-
Type:
array<System::IntPtr>^
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
- pcWrappedTypeLibs
-
Type:
System::UInt32
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
Return Value
Type: System::Int32Returns S_OK if the method is successful, E_FAIL if the method fails.