ITypeInfo.GetDllEntry(Int32, INVOKEKIND, IntPtr, IntPtr, IntPtr) 方法

定义

检索 DLL 中函数的入口点的说明或规范。Retrieves a description or specification of an entry point for a function in a DLL.

public:
 void GetDllEntry(int memid, System::Runtime::InteropServices::ComTypes::INVOKEKIND invKind, IntPtr pBstrDllName, IntPtr pBstrName, IntPtr pwOrdinal);
public void GetDllEntry (int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, IntPtr pBstrDllName, IntPtr pBstrName, IntPtr pwOrdinal);
abstract member GetDllEntry : int * System.Runtime.InteropServices.ComTypes.INVOKEKIND * nativeint * nativeint * nativeint -> unit
Public Sub GetDllEntry (memid As Integer, invKind As INVOKEKIND, pBstrDllName As IntPtr, pBstrName As IntPtr, pwOrdinal As IntPtr)

参数

memid
Int32

成员函数的 ID,要返回该成员函数的 DLL 入口说明。The ID of the member function whose DLL entry description is to be returned.

invKind
INVOKEKIND

指定由 memid 标识的成员种类的 INVOKEKIND 值之一。One of the INVOKEKIND values that specifies the kind of member identified by memid.

pBstrDllName
IntPtr

如果不为 null,则此函数将 pBstrDllName 设置为包含 DLL 名称的 BSTRIf not null, the function sets pBstrDllName to a BSTR that contains the name of the DLL.

pBstrName
IntPtr

如果不为 null,则此函数将 lpbstrName 设置为包含入口点名称的 BSTRIf not null, the function sets lpbstrName to a BSTR that contains the name of the entry point.

pwOrdinal
IntPtr

如果不为 null,并且此函数是按序号定义的,则 lpwOrdinal 被设置为指向该序号。If not null, and the function is defined by an ordinal, then lpwOrdinal is set to point to the ordinal.

注解

有关详细信息,请参阅 ITypeInfo:: GetDllEntry 方法For more information, see ITypeInfo::GetDllEntry method.

适用于