diff options
author | bonmas14 <bonmas14@gmail.com> | 2025-09-29 19:58:12 +0300 |
---|---|---|
committer | bonmas14 <bonmas14@gmail.com> | 2025-09-29 19:58:12 +0300 |
commit | 51ecf18f6ce5b9e06ec61423548270b4746f379d (patch) | |
tree | c2c3ffbbb1fd8ef52fa311851a45ed04ff2bb925 /src/cyn_file_win_x64.c | |
parent | 099519b45594827aad7c85f84816ae9b0cdd4698 (diff) | |
download | ungrateful-51ecf18f6ce5b9e06ec61423548270b4746f379d.tar.gz ungrateful-51ecf18f6ce5b9e06ec61423548270b4746f379d.zip |
Added zlib
Diffstat (limited to 'src/cyn_file_win_x64.c')
-rw-r--r-- | src/cyn_file_win_x64.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/cyn_file_win_x64.c b/src/cyn_file_win_x64.c deleted file mode 100644 index 1ded1de..0000000 --- a/src/cyn_file_win_x64.c +++ /dev/null @@ -1,37 +0,0 @@ -File_Handle *cyn_file_open(String path, File_Status *status) { - wchar *final_path; - Allocator talloc; - - talloc = un_alloc_temp_get(); - - final_path = un_wstring_from_string(path, talloc); - - if (path.size > MAX_PATH) { - if (status != NULL) *status = CYN_FILE_ERROR_MAX_PATH; - return NULL; - } - - if (final_path == NULL) { - if (status != NULL) *status = CYN_FILE_ERROR_NULL_FILENAME; - return NULL; // @todo status - } - - //CreateFileW(); - - if (status != NULL) *status = CYN_FILE_ERROR; - - return NULL; -} - -/* - -HANDLE CreateFileW( - LPCWSTR lpFileName, - DWORD dwDesiredAccess, - DWORD dwShareMode, - NULL, - DWORD dwCreationDisposition, - DWORD dwFlagsAndAttributes, - NULL -); -*/ |