UtilWin32GetNativeFunctionTDelegate Method

Gets a function exported in a native dll.

Definition

Namespace: DevCase.Win32
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static TDelegate GetNativeFunction<TDelegate>(
	string filepath,
	string functionName
)

Parameters

filepath  String
The file path of the native dll.
functionName  String
The name of the function to be retrieved.

Type Parameters

TDelegate
The Type of the source Delegate that will represent the signature of the native function.

Return Value

TDelegate
The resulting Delegate which represents a pointer to the method invoker.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also