IProfferTypeLib::ProfferTypeLib Method (Guid, UInt32, UInt32, UInt32)

 

Provides an ActiveX designer's type library to its host.

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

int ProfferTypeLib(
	[InAttribute] Guid% guidTypeLib,
	unsigned int uVerMaj,
	unsigned int uVerMin,
	unsigned int dwFlags
)

Parameters

guidTypeLib
Type: System::Guid

[in] Type library GUID.

uVerMaj
Type: System::UInt32

[in] Major version number of the type library.

uVerMin
Type: System::UInt32

[in] Minor version number of the type library.

dwFlags
Type: System::UInt32

[in] Type library flags. Use CONTROLTYPELIB, defined in designer.h, for a type library of an ActiveX control.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From designer.idl:

HRESULT IProfferTypeLib::ProfferTypeLib(
   [in] REFGUID guidTypeLib, 
   [in] UINT uVerMaj, 
   [in] UINT uVerMin, 
   [in] DWORD dwFlags
);
Return to top
Show: