본문 바로가기

Other Programming/Application Programming

APP C# WinAPI 적용

반응형
using System.Runtime.interopServices 네임페이스 추가

[DllImport ("라이브러리")]

int GetWindowsText(HWND hWnd, LPTSTR IpString , int nMaxCount);

을 C #을로 변형 -> public static extern int GetWindowsText(int hWnd, StringBuilder Ipstring , int nMaxCount);