findwebclient.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #include <windows.h>
  2. //main
  3. WINBASEAPI BOOL WINAPI KERNEL32$WaitNamedPipeA(LPCSTR lpNamedPipeName, DWORD nTimeOut);
  4. WINBASEAPI void* WINAPI MSVCRT$malloc(SIZE_T);
  5. WINBASEAPI SIZE_T WINAPI MSVCRT$strlen(const char* str);
  6. WINBASEAPI void* WINAPI MSVCRT$strcpy(const char* dest, const char* source);
  7. WINBASEAPI void* WINAPI MSVCRT$strcat(const char* dest, const char* source);
  8. DECLSPEC_IMPORT void __cdecl MSVCRT$free(void* _Block);
  9. DECLSPEC_IMPORT FILE* __cdecl MSVCRT$fopen(const char* _Filename, const char* _Mode);
  10. DECLSPEC_IMPORT int __cdecl MSVCRT$fclose(FILE* _File);
  11. DECLSPEC_IMPORT char* __cdecl MSVCRT$fgets(char* _Buffer, int _MaxCount, FILE* _File);
  12. WINBASEAPI int __cdecl MSVCRT$printf(const char * _Format,...);
  13. DECLSPEC_IMPORT char* __cdecl MSVCRT$strtok(char* _String, const char* _Delimiters);
  14. WINBASEAPI int __cdecl MSVCRT$strcmp(const char *str1, const char *str2);
  15. //BeaconPrintToStreamW + BeaconOutputStreamW
  16. #define MAX_STRING 8192
  17. INT g_iGarbage = 1;
  18. LPSTREAM g_lpStream = (LPSTREAM)1;
  19. LPWSTR g_lpwPrintBuffer = (LPWSTR)1;
  20. DECLSPEC_IMPORT HRESULT WINAPI OLE32$CreateStreamOnHGlobal(HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM *ppstm);
  21. WINBASEAPI void *__cdecl MSVCRT$calloc(size_t number, size_t size);
  22. WINBASEAPI int __cdecl MSVCRT$_vsnwprintf_s(wchar_t *buffer, size_t sizeOfBuffer, size_t count, const wchar_t *format, va_list argptr);
  23. WINBASEAPI size_t __cdecl MSVCRT$wcslen(const wchar_t *_Str);
  24. WINBASEAPI void __cdecl MSVCRT$memset(void *dest, int c, size_t count);
  25. WINBASEAPI HANDLE WINAPI KERNEL32$GetProcessHeap();
  26. WINBASEAPI LPVOID WINAPI KERNEL32$HeapAlloc(HANDLE hHeap, DWORD dwFlags, SIZE_T dwBytes);
  27. //WINBASEAPI void __cdecl MSVCRT$free(void *memblock);
  28. WINBASEAPI BOOL WINAPI KERNEL32$HeapFree(HANDLE, DWORD, PVOID);
  29. DECLSPEC_IMPORT int WINAPI KERNEL32$MultiByteToWideChar(UINT CodePage, DWORD dwFlags, _In_NLS_string_(cbMultiByte)LPCCH lpMultiByteStr, int cbMultiByte, LPWSTR lpWideCharStr, int cchWideChar);