findfile.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #include <windows.h>
  2. //SearchFileForKeyword + keywordMatches
  3. WINBASEAPI int WINAPI MSVCRT$strcmp(const char* str1, const char* str2);
  4. WINBASEAPI FILE* WINAPI MSVCRT$fopen(const char* filename, const char* mode);
  5. WINBASEAPI int __cdecl MSVCRT$fseek(FILE *_File, long _Offset, int _Origin);
  6. WINBASEAPI long __cdecl MSVCRT$ftell(FILE *_File);
  7. WINBASEAPI size_t __cdecl MSVCRT$fread(void * _DstBuf, size_t _ElementSize, size_t _Count, FILE * _File);
  8. WINBASEAPI int __cdecl MSVCRT$fclose(FILE *_File);
  9. WINBASEAPI char* WINAPI MSVCRT$strstr(const char* haystack, const char* needle);
  10. WINBASEAPI void *__cdecl MSVCRT$malloc(size_t _Size);
  11. //WINBASEAPI void __cdecl MSVCRT$free(void *_Memory);
  12. WINBASEAPI char* WINAPI MSVCRT$_strdup(const char* str);
  13. WINBASEAPI int WINAPI MSVCRT$tolower(int c);
  14. WINBASEAPI size_t WINAPI MSVCRT$strlen(const char* str);
  15. WINBASEAPI int WINAPI MSVCRT$strncmp(const char* str1, const char* str2, size_t n);
  16. WINBASEAPI char* WINAPI MSVCRT$strncpy(char* dest, const char* src, size_t n);
  17. DECLSPEC_IMPORT char* WINAPI MSVCRT$strtok(char* str, const char* delimiters);
  18. //SearchFilesRecursive
  19. DECLSPEC_IMPORT HANDLE WINAPI KERNEL32$FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData);
  20. DECLSPEC_IMPORT BOOL WINAPI KERNEL32$FindNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lpFindFileData);
  21. DECLSPEC_IMPORT DWORD WINAPI KERNEL32$GetLastError(void);
  22. DECLSPEC_IMPORT BOOL WINAPI KERNEL32$FindClose(HANDLE hFindFile);
  23. DECLSPEC_IMPORT int WINAPI KERNEL32$MultiByteToWideChar(UINT CodePage, DWORD dwFlags, LPCSTR lpMultiByteStr, int cbMultiByte, LPWSTR lpWideCharStr, int cchWideChar);
  24. WINBASEAPI char* WINAPI MSVCRT$strcpy(char* dest, const char* src);
  25. WINBASEAPI char* WINAPI MSVCRT$strcat(char* dest, const char* src);
  26. WINBASEAPI int WINAPI MSVCRT$sprintf(char* buffer, const char* format, ...);
  27. //bofstart + internal_printf + printoutput
  28. WINBASEAPI void *__cdecl MSVCRT$calloc(size_t number, size_t size);
  29. WINBASEAPI int WINAPI MSVCRT$vsnprintf(char* buffer, size_t count, const char* format, va_list arg);
  30. WINBASEAPI void __cdecl MSVCRT$memset(void *dest, int c, size_t count);
  31. WINBASEAPI void* WINAPI MSVCRT$memcpy(void* dest, const void* src, size_t count);
  32. WINBASEAPI HANDLE WINAPI KERNEL32$GetProcessHeap();
  33. WINBASEAPI LPVOID WINAPI KERNEL32$HeapAlloc(HANDLE hHeap, DWORD dwFlags, SIZE_T dwBytes);
  34. WINBASEAPI void __cdecl MSVCRT$free(void *memblock);
  35. WINBASEAPI BOOL WINAPI KERNEL32$HeapFree(HANDLE, DWORD, PVOID);