Platform/File(장치 IO)
-
파일 시스템 - Win32Platform/File(장치 IO) 2009. 2. 4. 17:36
CreateFile() DeleteFile() CopyFile() CreateHardLink() MoveFile() MoveFileEx() MOVEFILE_COPY_ALLOWED CreateDirectory() RemoveDirectory() SetCurrentDirectory() GetCurrentDirectory() FindfirstFile() FtpFindFirstFile() FindNextFile() InternetFindNextFile() FindClose() GetFileInformationByHandle() GetFileTime() SetFileTime() CompareFileTime() FileTimeToSystemTime() SystemTimeToFileTime() FileTimeToLo..
-
Win32Platform/File(장치 IO) 2009. 1. 22. 17:57
CreateFile() INVALID_HANDLE_VALUE dwDesiredAccess GENERIC_READ GENERIC_WRITE dwShareMode FILE_SHARE_READ dwCreationDisposition OPEN_EXISTING CREATE_ALWAYS dwFlagsAndAttributes FILE_ATTRIBUTE_NORMAL FILE_ATTRIBUTE_ARCHIVE FILE_ATTRIBUTE_READONLY FILE_FLAG_OVERLAPPED c.f. OpenFile() - compatibility CloseHandle() WriteFile() WriteFileEx() ReadFile() ReadFileEx() GetOverlappedResult() SetFilePointer..
-
레지스트리 - MFCPlatform/File(장치 IO) 2008. 12. 21. 18:05
CWinApp .SetRegistryKey() .WriteProfileInt() .WriteProfileString() .GetProfileInt() .GetProfileString() 다음은 HKEY_CURRENT_USER\Software\VCGuide\Draw\ 에 저장 BOOL CDrawApp::InitInstance() { ... Enable3dControlsStatic(); // Call this when linking to MFC statically #endif // Change the registry key under which our settings are stored. // TODO: You should modify this string to be something appropriate ..
-
MFCPlatform/File(장치 IO) 2008. 12. 6. 23:31
CFile Delete(); } BYTE buffer[0x1000]; DWORD dwBytesRemaining = file.GetLength(); while (dwBytesRemaining) { DWORD dwPosition = file.GetPosition(); UINT nBytesRead = file.Read(buffer, sizeof(buffer)); ... file.Seek(dwPosition, CFile::begin); file.Write(buffer, nBytesRead); dwBytesRemaining -= nBytesRead; } BOOL CMyFtpView::DownLoad(CString strName, DWORD dSize) { int num=0; num = (int)(dSize/512..