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
成员函数的 ID,要返回该成员函数的 DLL 入口说明。
- invKind
- INVOKEKIND
指定由 memid
标识的成员类型。
- pBstrDllName
- String
如果不为 null
,则此函数将 pBstrDllName
设置为包含 DLL 名称的 BSTR
。
- pBstrName
- String
如果不为 null
,则此函数将 lpbstrName 设置为包含入口点名称的
BSTR
。
- pwOrdinal
- Int16
如果不为 null
,并且此函数是按序号定义的,则 lpwOrdinal 被设置为指向该序号。
注解
有关的其他信息 ITypeInfo::GetDllEntry
,请参阅 MSDN library。