도전2022

SHGetFolderPath 본문

소스코드

SHGetFolderPath

hotdigi 2012. 4. 25. 10:31
SMALL

http://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx


TCHAR szPath[MAX_PATH];

if(SUCCEEDED(SHGetFolderPath(NULL, 
                             CSIDL_PERSONAL|CSIDL_FLAG_CREATE, 
                             NULL, 
                             0, 
                             szPath))) 
{
    PathAppend(szPath, TEXT("New Doc.txt"));
    HANDLE hFile = CreateFile(szPath, ...);
}



http://process3.blog.me/20027884274 98에서는 지원되지 않는다. 

http://blog.naver.com/ahnshy?Redirect=Log&logNo=110008912467 특수 폴더 얻는 방법 


LIST