Поделиться через


IVsTypeLibraryWrapperCallback.GetComClassic Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a COM classic TLIBATTR wrapper structure for a given type library and wrapper tool combination.

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

Syntax

'Declaration
Function GetComClassic ( _
    pTypeLibAttr As TLIBATTR(), _
    wszWrapperTool As String, _
    <OutAttribute> ByRef pDelaySigned As Integer, _
    <OutAttribute> ByRef pbstrWrapperTool As String, _
    <OutAttribute> ByRef pbstrPath As String _
) As Integer
int GetComClassic(
    TLIBATTR[] pTypeLibAttr,
    string wszWrapperTool,
    out int pDelaySigned,
    out string pbstrWrapperTool,
    out string pbstrPath
)
int GetComClassic(
    [InAttribute] array<TLIBATTR>^ pTypeLibAttr, 
    [InAttribute] String^ wszWrapperTool, 
    [OutAttribute] int% pDelaySigned, 
    [OutAttribute] String^% pbstrWrapperTool, 
    [OutAttribute] String^% pbstrPath
)
abstract GetComClassic : 
        pTypeLibAttr:TLIBATTR[] * 
        wszWrapperTool:string * 
        pDelaySigned:int byref * 
        pbstrWrapperTool:string byref * 
        pbstrPath:string byref -> int 
function GetComClassic(
    pTypeLibAttr : TLIBATTR[], 
    wszWrapperTool : String, 
    pDelaySigned : int, 
    pbstrWrapperTool : String, 
    pbstrPath : String
) : int

Parameters

  • wszWrapperTool
    Type: System.String
    [in] Specifies the wrapper tool.
  • pDelaySigned
    Type: System.Int32%
    [out] Boolean indicating whether the object is delay signed.
  • pbstrWrapperTool
    Type: System.String%
    [out] Pointer to the wrapper tool.
  • pbstrPath
    Type: System.String%
    [out] Pointer to a string containing the path for the wrapper.

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 compsvcspkg.idl:

HRESULT IVsTypeLibraryWrapperCallback::GetComClassic(
   [in] TLIBATTR* pTypeLibAttr,
   [in] LPCOLESTR wszWrapperTool,
   [out] BOOL* pDelaySigned,
   [out] BSTR* pbstrWrapperTool,
   [out,retval] BSTR* pbstrPath
);

.NET Framework Security

See Also

Reference

IVsTypeLibraryWrapperCallback Interface

Microsoft.VisualStudio.Shell.Interop Namespace