Freigeben über


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

Definition

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

public:
 int ProfferTypeLib(Guid % guidTypeLib, System::UInt32 uVerMaj, System::UInt32 uVerMin, System::UInt32 dwFlags);
public int ProfferTypeLib (ref Guid guidTypeLib, uint uVerMaj, uint uVerMin, uint dwFlags);
abstract member ProfferTypeLib : Guid * uint32 * uint32 * uint32 -> int
Public Function ProfferTypeLib (ByRef guidTypeLib As Guid, uVerMaj As UInteger, uVerMin As UInteger, dwFlags As UInteger) As Integer

Parameters

guidTypeLib
Guid

[in] Type library GUID.

uVerMaj
UInt32

[in] Major version number of the type library.

uVerMin
UInt32

[in] Minor version number of the type library.

dwFlags
UInt32

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

Returns

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

Remarks

COM Signature

From designer.idl:

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

Applies to