Επεξεργασία

Κοινή χρήση μέσω


UCOMITypeInfo.GetDllEntry(Int32, INVOKEKIND, String, String, Int16) Method

Definition

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)

Parameters

memid
Int32

ID of the member function whose DLL entry description is to be returned.

invKind
INVOKEKIND

Specifies the kind of member identified by memid.

pBstrDllName
String

If not null, the function sets pBstrDllName to a BSTR that contains the name of the DLL.

pBstrName
String

If not null, the function sets lpbstrName to a BSTR that contains the name of the entry point.

pwOrdinal
Int16

If not null, and the function is defined by an ordinal, then lpwOrdinal is set to point to the ordinal.

Remarks

For additional information about ITypeInfo::GetDllEntry, see the MSDN Library.

Applies to