ITypeInfo.GetDllEntry Method (Int32, INVOKEKIND, IntPtr, IntPtr, IntPtr)

 

Retrieves a description or specification of an entry point for a function in a DLL.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void GetDllEntry(
	int memid,
	INVOKEKIND invKind,
	IntPtr pBstrDllName,
	IntPtr pBstrName,
	IntPtr pwOrdinal
)

Parameters

memid
Type: System.Int32

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

invKind
Type: System.Runtime.InteropServices.ComTypes.INVOKEKIND

One of the INVOKEKIND values that specifies the kind of member identified by memid.

pBstrDllName
Type: System.IntPtr

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

pBstrName
Type: System.IntPtr

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

pwOrdinal
Type: System.IntPtr

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

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: