UCOMITypeInfo.GetDllEntry(Int32, INVOKEKIND, String, String, Int16) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索 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
要返回 DLL 条目说明的成员函数的 ID。
- invKind
- INVOKEKIND
指定由 memid. 标识的成员的类型。
- pBstrDllName
- String
null否则,该函数将设置为pBstrDllName包含 DLL 名称的函数BSTR。
- pBstrName
- String
null否则,该函数将lpbstrName设置为包含入口点名称的函数BSTR。
- pwOrdinal
- Int16
null如果没有,并且函数由序号定义,则lpwOrdinal设置为指向序号。
注解
有关其他 ITypeInfo::GetDllEntry信息,请参阅 MSDN 库。