본문 바로가기

자료

VB.net GetPixel

728x90
Private Declare Function GetDC Lib "user32" Alias "GetDC" (hwnd As IntPtr) As IntPtr
Private Declare Function ReleaseDC Lib "user32" Alias "ReleaseDC" (hwnd As IntPtr, hdc As IntPtr) As Int32
Private Declare Function GetPixel Lib "gdi32" Alias "GetPixel" (hdc As IntPtr, nXPos As Integer, nYPos As Integer) As UInteger
Dim hdc As IntPtr = GetDC(IntPtr.Zero)
Dim pixel As UInteger = GetPixel(hdc, x, y)
728x90

'자료' 카테고리의 다른 글

C#에서 tensorflow 사용하는 방법 알아보기  (1) 2020.07.07
치트엔진 라이브러리(cheatengine-library)  (0) 2020.07.04
DD Methods  (0) 2020.07.04
메이플스토리 IP  (0) 2020.06.25
Delay 함수  (0) 2020.06.21