2014-04-06 18:31:53 +00:00
|
|
|
/* Benjamin DELPY `gentilkiwi`
|
|
|
|
http://blog.gentilkiwi.com
|
|
|
|
benjamin@gentilkiwi.com
|
2015-08-25 09:19:01 +00:00
|
|
|
Licence : https://creativecommons.org/licenses/by/4.0/
|
2014-04-06 18:31:53 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
2014-04-23 20:00:29 +00:00
|
|
|
#include "globals.h"
|
2014-04-06 18:31:53 +00:00
|
|
|
#include <shlwapi.h>
|
2016-12-22 23:21:08 +00:00
|
|
|
#include "kull_m_string.h"
|
2014-04-06 18:31:53 +00:00
|
|
|
|
2016-12-22 23:21:08 +00:00
|
|
|
BOOL isBase64InterceptOutput, isBase64InterceptInput;
|
2014-04-23 20:00:29 +00:00
|
|
|
|
2016-01-31 15:01:45 +00:00
|
|
|
typedef BOOL (CALLBACK * PKULL_M_FILE_FIND_CALLBACK) (DWORD level, PCWCHAR fullpath, PCWCHAR path, PVOID pvArg);
|
|
|
|
|
2014-04-06 18:31:53 +00:00
|
|
|
BOOL kull_m_file_getCurrentDirectory(wchar_t ** ppDirName);
|
2014-05-24 20:16:46 +00:00
|
|
|
BOOL kull_m_file_getAbsolutePathOf(PCWCHAR thisData, wchar_t ** reponse);
|
2016-01-12 02:13:12 +00:00
|
|
|
BOOL kull_m_file_isFileExist(PCWCHAR fileName);
|
2015-01-13 21:08:23 +00:00
|
|
|
BOOL kull_m_file_writeData(PCWCHAR fileName, LPCVOID data, DWORD lenght);
|
2016-01-31 15:01:45 +00:00
|
|
|
BOOL kull_m_file_readData(PCWCHAR fileName, PBYTE * data, PDWORD lenght); // for 'little' files !
|
2016-01-12 02:13:12 +00:00
|
|
|
void kull_m_file_cleanFilename(PWCHAR fileName);
|
2016-01-31 15:01:45 +00:00
|
|
|
PWCHAR kull_m_file_fullPath(PCWCHAR fileName);
|
|
|
|
BOOL kull_m_file_Find(PCWCHAR directory, PCWCHAR filter, BOOL isRecursive /*TODO*/, DWORD level, BOOL isPrintInfos, PKULL_M_FILE_FIND_CALLBACK callback, PVOID pvArg);
|