-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathFile.h
32 lines (26 loc) · 850 Bytes
/
File.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* CLCL
*
* File.h
*
* Copyright (C) 1996-2019 by Ohno Tomoaki. All rights reserved.
* https://www.nakka.com/
*/
#ifndef _INC_FILE_H
#define _INC_FILE_H
/* Include Files */
/* Define */
/* Struct */
/* Function Prototypes */
BOOL file_name_check(TCHAR *file_name);
void file_name_conv(TCHAR *file_name, TCHAR conv_char);
BOOL file_check_directory(const TCHAR *path);
BOOL file_check_file(const TCHAR *path);
BYTE *file_read_buf(const TCHAR *path, DWORD *ret_size, TCHAR *err_str);
BOOL file_write_buf(const TCHAR *path, const BYTE *data, const DWORD size, TCHAR *err_str);
BOOL file_read_data(const TCHAR *path, DATA_INFO **root, TCHAR *err_str);
BOOL file_write_data(const TCHAR *path, DATA_INFO *di, TCHAR *err_str);
BOOL shell_open(const TCHAR *file_name, const TCHAR *command_line);
#endif
/* End of source */