|
|
| file (::file::path &path, ::windows_path &windowspath, ::file::e_open &eopen, HANDLE handleFile=INVALID_HANDLE_VALUE) |
|
bool | safe_create_file (const ::file::path &path, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) |
|
void | _create_file (const ::file::path &path, ::file::e_open eopen) |
|
void | create_file (const ::file::path &path, ::file::e_open eopen) |
| DWORD | defer_write (const void *p, ::memsize s, LPOVERLAPPED lpOverlapped=nullptr) |
|
void | write (const void *p, ::memsize s, LPOVERLAPPED lpOverlapped=nullptr) |
| ::memsize | read (void *p, ::memsize s, LPOVERLAPPED lpOverlapped=nullptr) |
|
void | flush_file_buffers () |
|
::i64 | get_file_size () const |
|
void | ensure_file_size (::i64 iSize) |
|
void | set_file_size (::i64 iSize) |
|
void | set_file_pointer_ex (::i64 iOffset, PLARGE_INTEGER lpNewFilePointer, DWORD dwMoveMethod) |
|
void | set_file_pointer (::i64 iOffset, DWORD dwMoveMethod) |
|
::i64 | get_file_pointer () const |
|
void | set_end_of_file () |
|
void | lock_file (::i64 iOffset, ::i64 iCount) |
|
void | unlock_file (::i64 iOffset, ::i64 iCount) |
|
void | set_file_time (const FILETIME *lpCreationTime, const FILETIME *lpLastAccessTime, const FILETIME *lpLastWriteTime) |
|
void | get_file_time (LPFILETIME lpCreationTime, LPFILETIME lpLastAccessTime, LPFILETIME lpLastWriteTime) |
|
void | get_file_information (BY_HANDLE_FILE_INFORMATION &information) const |
|
::file::path | get_final_path_by_handle () const |
|
void | throw_last_error_exception (const ::scoped_string &scopedstrErrorMessage=nullptr, DWORD lasterror=0) const |
| Public Member Functions inherited from windows::handle |
|
| handle (::uptr u=ULLONG_MAX) |
|
handle & | operator= (::uptr u) |
|
void | close_handle () |
|
| operator::uptr () const |
|
| operator::uptr & () |
|
bool | nok () const |
|
bool | is_ok () const |