SECFileSystem::ChangeFileSystem

Changes the current filesystem.

Defined in: filesys.cpp

Syntax

ChangeFileSystem(const char cFileSystem);

ChangeFileSystem(const CString& FileSystem)

Return Value

Nonzero if successful; 0 if an error occurred.

Parameters

cFileSystem

The file system drive letter.

FileSystem

The file system name.

Example

BOOL bRetVal = fs.ChangeFileSystem("c:\\");

Developer Notes

The version that takes a char parameter is obsolete. The version that takes a CString parameter should be used instead. This change was made for Windows NT support.

See Also

SECFileSystem  GetCurrentFileSystem