Sdílet prostřednictvím


ITypeLibResolver Interface

Provides the ResolveTypeLib method, which resolves the file path of a type library.

interface ITypeLibResolver : IUnknown
{
    HRESULT ResolveTypeLib(
        [in]  BSTR      bstrSimpleName,
        [in]  GUID      tlbid,
        [in]  LCID      lcid,
        [in]  USHORT    wMajorVersion,
        [in]  USHORT    wMinorVersion,
        [in]  SYSKIND   syskind,
        [out] BSTR     *pbstrResolvedTlbName);
}

Methods

Method

Description

ResolveTypeLib Method

Resolves the simple name of a type library by returning its fully qualified path.

Requirements

Platforms: See .NET Framework System Requirements.

Header: TlbRef.h

Library: TlbRef.lib

.NET Framework Version: 3.5, 3.0, 2.0

See Also

Reference

LoadTypeLibEx

Other Resources

Tlbexp Helper Functions (Unmanaged API Reference)