UCOMITypeInfo.GetDllEntry(Int32, INVOKEKIND, String, String, Int16) 方法
定义
检索 DLL 中函数的入口点的说明或规范。Retrieves a description or specification of an entry point for a function in a DLL.
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 入口说明。ID of the member function whose DLL entry description is to be returned.
- invKind
- INVOKEKIND
指定由 memid 标识的成员类型。Specifies the kind of member identified by memid.
- pBstrDllName
- String
如果不为 null,则此函数将 pBstrDllName 设置为包含 DLL 名称的 BSTR。If not null, the function sets pBstrDllName to a BSTR that contains the name of the DLL.
- pBstrName
- String
如果不为 null,则此函数将 lpbstrName 设置为包含入口点名称的 BSTR。If not null, the function sets lpbstrName to a BSTR that contains the name of the entry point.
- pwOrdinal
- Int16
如果不为 null,并且此函数是按序号定义的,则 lpwOrdinal 被设置为指向该序号。If not null, and the function is defined by an ordinal, then lpwOrdinal is set to point to the ordinal.
注解
有关的其他信息 ITypeInfo::GetDllEntry ,请参阅 MSDN library。For additional information about ITypeInfo::GetDllEntry, see the MSDN Library.