Ruby/Справочник/Windows::File
Класс Windows::File
[править](нет описания...)
Константы
ACCESS_ALLOWED_ACE_TYPE, ACCESS_DENIED_ACE_TYPE, ACCESS_SYSTEM_SECURITY, ANYSIZE_ARRAY, APPLICATION_ERROR_MASK, COMPRESSION_ENGINE_MAXIMUM, COMPRESSION_ENGINE_STANDARD, COMPRESSION_FORMAT_DEFAULT, COMPRESSION_FORMAT_LZNT1, COMPRESSION_FORMAT_NONE, CONTAINER_INHERIT_ACE, CREATE_ALWAYS, CREATE_NEW, CopyFile, CopyFileEx, CreateFile, CreateFileW, CreateHardLink, DELETE, DecryptFile, DeleteFile, ERROR_SEVERITY_ERROR, ERROR_SEVERITY_INFORMATIONAL, ERROR_SEVERITY_SUCCESS, ERROR_SEVERITY_WARNING, EncryptFile, FAILED_ACCESS_ACE_FLAG, FILE_ADD_FILE, FILE_ADD_SUBDIRECTORY, FILE_ALL_ACCESS, FILE_APPEND_DATA, FILE_ATTRIBUTE_ARCHIVE, FILE_ATTRIBUTE_COMPRESSED, FILE_ATTRIBUTE_DIRECTORY, FILE_ATTRIBUTE_ENCRYPTED, FILE_ATTRIBUTE_HIDDEN, FILE_ATTRIBUTE_NORMAL, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED, FILE_ATTRIBUTE_OFFLINE, FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_REPARSE_POINT, FILE_ATTRIBUTE_SPARSE_FILE, FILE_ATTRIBUTE_SYSTEM, FILE_ATTRIBUTE_TEMPORARY, FILE_CASE_PRESERVED_NAMES, FILE_CASE_SENSITIVE_SEARCH, FILE_CREATE_PIPE_INSTANCE, FILE_DELETE_CHILD, FILE_EXECUTE, FILE_FILE_COMPRESSION, FILE_FLAG_BACKUP_SEMANTICS, FILE_FLAG_DELETE_ON_CLOSE, FILE_FLAG_FIRST_PIPE_INSTANCE, FILE_FLAG_NO_BUFFERING, FILE_FLAG_OPEN_NO_RECALL, FILE_FLAG_OPEN_REPARSE_POINT, FILE_FLAG_OVERLAPPED, FILE_FLAG_POSIX_SEMANTICS, FILE_FLAG_RANDOM_ACCESS, FILE_FLAG_SEQUENTIAL_SCAN, FILE_FLAG_WRITE_THROUGH, FILE_GENERIC_EXECUTE, FILE_GENERIC_READ, FILE_GENERIC_WRITE, FILE_LIST_DIRECTORY, FILE_NOTIFY_CHANGE_ATTRIBUTES, FILE_NOTIFY_CHANGE_CREATION, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_LAST_ACCESS, FILE_NOTIFY_CHANGE_LAST_WRITE, FILE_NOTIFY_CHANGE_SECURITY, FILE_NOTIFY_CHANGE_SIZE, FILE_PERSISTENT_ACLS, FILE_READ_ATTRIBUTES, FILE_READ_DATA, FILE_READ_EA, FILE_READ_PROPERTIES, FILE_SHARE_DELETE, FILE_SHARE_READ, FILE_SHARE_WRITE, FILE_SUPPORTS_ENCRYPTION, FILE_SUPPORTS_OBJECT_IDS, FILE_SUPPORTS_REMOTE_STORAGE, FILE_SUPPORTS_REPARSE_POINTS, FILE_SUPPORTS_SPARSE_FILES, FILE_TRAVERSE, FILE_TYPE_CHAR, FILE_TYPE_DISK, FILE_TYPE_PIPE, FILE_TYPE_REMOTE, FILE_TYPE_UNKNOWN, FILE_UNICODE_ON_DISK, FILE_VOLUME_IS_COMPRESSED, FILE_VOLUME_QUOTAS, FILE_WRITE_ATTRIBUTES, FILE_WRITE_DATA, FILE_WRITE_EA, FILE_WRITE_PROPERTIES, GENERIC_ALL, GENERIC_EXECUTE, GENERIC_READ, GENERIC_WRITE, GetBinaryType, GetFileAttributes, GetFileAttributesEx, GetFileSize, GetFileSizeEx, GetFileType, GetFullPathName, GetFullPathNameW, GetLongPathName, GetShortPathName, INHERIT_ONLY_ACE, INVALID_FILE_ATTRIBUTES, INVALID_FILE_SIZE, INVALID_HANDLE_VALUE, LOCKFILE_EXCLUSIVE_LOCK, LOCKFILE_FAIL_IMMEDIATELY, LockFile, LockFileEx, MAILSLOT_NO_MESSAGE, MAILSLOT_WAIT_FOREVER, MAXIMUM_ALLOWED, NO_PROPAGATE_INHERIT_ACE, OBJECT_INHERIT_ACE, OPEN_ALWAYS, OPEN_EXISTING, READ_CONTROL, ReadFile, ReadFileEx, SECTION_ALL_ACCESS, SECTION_EXTEND_SIZE, SECTION_MAP_EXECUTE, SECTION_MAP_READ, SECTION_MAP_WRITE, SECTION_QUERY, SPECIFIC_RIGHTS_ALL, STANDARD_RIGHTS_ALL, STANDARD_RIGHTS_EXECUTE, STANDARD_RIGHTS_READ, STANDARD_RIGHTS_REQUIRED, STANDARD_RIGHTS_WRITE, SUCCESSFUL_ACCESS_ACE_FLAG, SYNCHRONIZE, SYSTEM_ALARM_ACE_TYPE, SYSTEM_AUDIT_ACE_TYPE, SetFileAttributes, TRUNCATE_EXISTING, UnlockFile, UnlockFileEx, VALID_INHERIT_FLAGS, WRITE_DAC, WRITE_OWNER, WriteFile, WriteFileEx
Методы объекта
CopyFileEx, CopyFile, CreateFile, CreateHardLink, DecryptFile, DeleteFile, EncryptFile, GetBinaryType, GetFileAttributesEx, GetFileAttributes, GetFileSizeEx, GetFileSize, GetFileType, GetFullPathName, GetLongPathName, GetShortPathName, LockFileEx, LockFile, ReadFileEx, ReadFile, SetFileAttributes, UnlockFileEx, UnlockFile, WriteFileEx, WriteFile
Windows::File#CopyFile
[править]CopyFile(curr_file, new_file, bail)
(нет описания...)
Windows::File#CopyFileEx
[править]CopyFileEx(curr_file, new_file, routine, data, cancel, flags)
(нет описания...)
Windows::File#CreateFile
[править]CreateFile(file, access, share, sec, disp, flags, template)
(нет описания...)
Windows::File#CreateHardLink
[править]CreateHardLink(new_file, old_file, attributes)
(нет описания...)
Windows::File#DecryptFile
[править]DecryptFile(file, res = 0)
(нет описания...)
Windows::File#DeleteFile
[править]DeleteFile(file)
(нет описания...)
Windows::File#EncryptFile
[править]EncryptFile(file)
(нет описания...)
Windows::File#GetBinaryType
[править]GetBinaryType(file, type)
(нет описания...)
Windows::File#GetFileAttributes
[править]GetFileAttributes(file)
(нет описания...)
Windows::File#GetFileAttributesEx
[править]GetFileAttributesEx(file, level_id, info)
(нет описания...)
Windows::File#GetFileSize
[править]GetFileSize(handle, size)
(нет описания...)
Windows::File#GetFileSizeEx
[править]GetFileSizeEx(handle, size)
(нет описания...)
Windows::File#GetFileType
[править]GetFileType(handle)
(нет описания...)
Windows::File#GetFullPathName
[править]GetFullPathName(file, buf, buf_size, part)
(нет описания...)
Windows::File#GetLongPathName
[править]GetLongPathName(short, buf, buf_size)
(нет описания...)
Windows::File#GetShortPathName
[править]GetShortPathName(long, buf, buf_size)
(нет описания...)
Windows::File#LockFile
[править]LockFile(handle, off_low, off_high, lock_low, lock_high)
(нет описания...)
Windows::File#LockFileEx
[править]LockFileEx(handle, flags, res, low, high, overlapped)
(нет описания...)
Windows::File#ReadFile
[править]ReadFile(file, buf, bytes, bytes_read, overlapped)
(нет описания...)
Windows::File#ReadFileEx
[править]ReadFileEx(file, buf, bytes, overlapped, routine)
(нет описания...)
Windows::File#SetFileAttributes
[править]SetFileAttributes(file, attributes)
(нет описания...)
Windows::File#UnlockFile
[править]UnlockFile(handle, off_low, off_high, bytes_low, bytes_high)
(нет описания...)
Windows::File#UnlockFileEx
[править]UnlockFileEx(handle, res, low, high, overlapped)
(нет описания...)
Windows::File#WriteFile
[править]WriteFile(handle, buf, bytes, overlapped)
(нет описания...)
Windows::File#WriteFileEx
[править]WriteFileEx(handle, buf, bytes, overlapped, routine)
(нет описания...)