전체 목록
FindFirstFile FindNextFile FindClose
특정 디렉토리 아래에 있는 모든 파일과 디렉토리 혹은 특정 조건의 파일과 디렉토리를 얻고자 한다면, 다음 API 함수를 이용한다. HANDLE FindFirstFile(LPCSTR lpFileName, LPWIN32_FIND_DATA finddata); BOOL FindNextFile(HANDLE hFind, LPWIN32_FIND_DATA finddata); BOOL FindClose(HANDLE hFind); FindFirstFile : 파일 검색을 시작한다. 파일 검색 문자열이 잘못되었거나 다른 이유로 함수 실행이 실패했을 경우 INVALID_HANDLE_VALUE로 Define된 상수값을 반환한다. 성공했을 경우 파일 검색 핸들을 반환하고 두 번째로 전달되는 구조체에 첫 번째로 발견되는 파일의 정..
StretchBlt() Parameter 설명
BOOL StretchBlt( int x, //그림을 나타낼 화면상의 좌표 int y, int nWidth, //화면에 나타낼 그림의 크기 int nHeight, CDC* pSrcDC, //그림이 저장된 MemDC int xSrc, //그림 중 잘라낼 부분의 시작점(LeftTop) int ySrc, int nSrcWidth, //그림 중 잘라낼 부분의 종점(RightBottom) int nSrcHeight, DWORD dwRop //적용할 래스터 연산 );
GetPrivateProfileString(), WritePrivateProfileString()
DWORD GetPrivateProfileString( LPCTSTR lpAppName, // section name : 가로"["를 제외한 값 입력 LPCTSTR lpKeyName, // key name LPCTSTR lpDefault, // default string :섹션이름이나 키이름을 찾지 못하면 디폴트로 출력할 스트링 LPTSTR lpReturnedString, // destination buffer: 찾은 값을 저장할 곳,ex) CHAR inBuf[80]; DWORD nSize, // size of destination buffer : 크기 LPCTSTR lpFileName // initialization file name : 파일 경로 및 파일 이름 );BOOL WritePrivatePro..
ADB driver 설치
간혹 Android Device(Phone, TabletPC 등)를 PC에 연결했을 때, 디바이스 드라이버가 설치되지 않는 경우가 있다. usb 디버깅 해제한 상태에서는 디바이스 드라이버가 잡히지만, usb 디버깅 항목을 체크한 상태에서는 디바이스 드라이버가 잡히지 않는 경우가 종종 있다. 물론, 안드로이드 앱이나 루팅 등의 작업을 하지 않고 사용할 때는 이 드라이버 설치를 하지 않아도 된다. 안드로이드 앱 개발자나 루팅을 할 때에는, PC와 Android Device을 연결하는 ADB Driver 설치가 필수적이다. ADB 드라이버 설치는 SuperOneClick이라는 프로그램을 사용하면 간단하게 설치가 된다. 1. SuperOneClick 다운받는다. 2. 다운받은 SuperOneClick 프로그램을..
external camera test app apk
---------------------------------------------------------------------------------------------------------- http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3 ----------------------------------------------------------------------------------------------------------