UCOMITypeInfo.GetDllEntry(Int32, INVOKEKIND, String, String, Int16) 方法

定義

擷取 DLL 中函式之進入點 (Entry Point) 的描述或規格。

public:
 void GetDllEntry(int memid, System::Runtime::InteropServices::INVOKEKIND invKind, [Runtime::InteropServices::Out] System::String ^ % pBstrDllName, [Runtime::InteropServices::Out] System::String ^ % pBstrName, [Runtime::InteropServices::Out] short % pwOrdinal);
public void GetDllEntry (int memid, System.Runtime.InteropServices.INVOKEKIND invKind, out string pBstrDllName, out string pBstrName, out short pwOrdinal);
abstract member GetDllEntry : int * System.Runtime.InteropServices.INVOKEKIND * string * string * int16 -> unit
Public Sub GetDllEntry (memid As Integer, invKind As INVOKEKIND, ByRef pBstrDllName As String, ByRef pBstrName As String, ByRef pwOrdinal As Short)

參數

memid
Int32

成員函式的 ID,要傳回其 DLL 進入描述。

invKind
INVOKEKIND

指定 memid 所識別之成員的種類。

pBstrDllName
String

如果非為 null,函式會將 pBstrDllName 設定為包含 DLL 名稱的 BSTR

pBstrName
String

如果不是 null ,函式會將 設定 lpbstrNameBSTR ,其中包含進入點的名稱。

pwOrdinal
Int16

如果不是 null ,而且函式是由序數定義,則會 lpwOrdinal 設定為指向序數。

備註

如需 的詳細資訊 ITypeInfo::GetDllEntry ,請參閱 MSDN 程式庫。

適用於