Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function ProfferTypeLib ( _
ByRef guidTypeLib As Guid, _
uVerMaj As UInteger, _
uVerMin As UInteger, _
dwFlags As UInteger _
) As Integer
int ProfferTypeLib(
ref Guid guidTypeLib,
uint uVerMaj,
uint uVerMin,
uint dwFlags
)
int ProfferTypeLib(
[InAttribute] Guid% guidTypeLib,
[InAttribute] unsigned int uVerMaj,
[InAttribute] unsigned int uVerMin,
[InAttribute] unsigned int dwFlags
)
abstract ProfferTypeLib :
guidTypeLib:Guid byref *
uVerMaj:uint32 *
uVerMin:uint32 *
dwFlags:uint32 -> int
function ProfferTypeLib(
guidTypeLib : Guid,
uVerMaj : uint,
uVerMin : uint,
dwFlags : uint
) : int
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.
Remarks
COM Signature
From designer.idl:
HRESULT IProfferTypeLib::ProfferTypeLib(
[in] REFGUID guidTypeLib,
[in] UINT uVerMaj,
[in] UINT uVerMin,
[in] DWORD dwFlags
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.