Partilhar via


IVsTypeLibraryWrapperCallback.GetComClassic Method

Definition

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

public:
 int GetComClassic(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibAttr, System::String ^ wszWrapperTool, [Runtime::InteropServices::Out] int % pDelaySigned, [Runtime::InteropServices::Out] System::String ^ % pbstrWrapperTool, [Runtime::InteropServices::Out] System::String ^ % pbstrPath);
int GetComClassic(std::Array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> const & pTypeLibAttr, std::wstring const & wszWrapperTool, [Runtime::InteropServices::Out] int & pDelaySigned, [Runtime::InteropServices::Out] std::wstring const & & pbstrWrapperTool, [Runtime::InteropServices::Out] std::wstring const & & pbstrPath);
public int GetComClassic (Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] pTypeLibAttr, string wszWrapperTool, out int pDelaySigned, out string pbstrWrapperTool, out string pbstrPath);
abstract member GetComClassic : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string * int * string * string -> int
Public Function GetComClassic (pTypeLibAttr As TLIBATTR(), wszWrapperTool As String, ByRef pDelaySigned As Integer, ByRef pbstrWrapperTool As String, ByRef pbstrPath As String) As Integer

Parameters

pTypeLibAttr
TLIBATTR[]

[in] Pointer to a type library attribute object.

wszWrapperTool
String

[in] Specifies the wrapper tool.

pDelaySigned
Int32

[out] Boolean indicating whether the object is delay signed.

pbstrWrapperTool
String

[out] Pointer to the wrapper tool.

pbstrPath
String

[out] Pointer to a string containing the path for the wrapper.

Returns

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  
);  

Applies to