DllImportAttribute Class (System.Runtime.InteropServices)
https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.dllimportattribute
Imports System.Runtime.InteropServices Module Example ' Use DllImport to import the Win32 MessageBox function. <DllImport("user32.dll", CharSet:=CharSet.Unicode)> _ Function MessageBox(ByVal hwnd As IntPtr, ByVal t As String, ByVal caption As String, ByVal t2 As UInt32) As Integer End Function Sub Main() ' Call the MessageBox function using ...
DA: 15 PA: 13 MOZ Rank: 8