오토잇에서 쓰이는 ImageSearchDLL (확실하지않음..)반환값은 Bool,x,y,width,height
<DllImport("ImageSearchDLL_x64.dll", EntryPoint:="ImageSearch")> Public Shared Function ImageSearch(ByVal x1 As Integer, ByVal y1 As Integer, ByVal x2 As Integer, ByVal y2 As Integer, ByVal str As String) As IntPtr
사용
Dim result As String = ImageSearch(0, 0, Screen.PrimaryScreen.Bounds.Width,Screen.PrimaryScreen.Bounds.Height, "C:\a.png") '*30 C:\a.png (1~255) MsgBox(Marshal.PtrToStringAnsi(result))