검색결과 리스트
글
데이터를 파일로 저장하는 프로그램을 만들다 보면은 꼭 필요한게
데이터 저장 폴더가 유효한지 아닌지 판단한는 일입니다.
그럴대 유용한 API 입니다.
PathIsDirectory Function
Verifies that a path is a valid directory.
Syntax
BOOL PathIsDirectory(LPCTSTR pszPath);
Parameters
- pszPath
- [in] A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to verify.
Return Value
Returns TRUE if the path is a valid directory, or FALSE otherwise.
Function Information
| Minimum DLL Version | shlwapi.dll version 4.71 or later |
|---|---|
| Custom Implementation | No |
| Header | shlwapi.h |
| Import library | shlwapi.lib |
| Minimum operating systems | Windows 2000, Windows NT 4.0 with Internet Explorer 4.0, Windows 98, Windows 95 with Internet Explorer 4.0 |
| Unicode | Implemented as ANSI and Unicode versions. |
'C/C++ > VC++ / MFC' 카테고리의 다른 글
| [링크] 일정 시간이 흐른후 메세지 박스 종료하기 (0) | 2011.02.15 |
|---|---|
| [MFC] Ansi -> Unicode 형변환 (0) | 2011.02.08 |
| [MFC] 현재 프로그램의 Instance Handle을 구하는 API (0) | 2011.01.24 |
| WINDOWS API 폴더 선택 (0) | 2011.01.21 |
| VC++에서 ADO를 사용하는 방법 (0) | 2011.01.20 |

RECENT COMMENT