Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.0 KiB

  1. #ifndef _KRNLMODE_H
  2. #define _KRNLMODE_H
  3. #define KRNL_COL_COUNT 3
  4. typedef struct stKModeData
  5. {
  6. DWORD UnprocessedCount;
  7. DWORD BucketArray[10];
  8. TCHAR ResponseArray[10][255];
  9. } KMODE_DATA, *PKMODE_DATA;
  10. // Prototypes
  11. void ResizeKrlMode(HWND hwnd);
  12. BOOL
  13. GetResponseUrl(
  14. IN TCHAR *szWebSiteName,
  15. IN TCHAR *szDumpFileName,
  16. OUT TCHAR *szResponseUrl
  17. );
  18. DWORD
  19. UploadDumpFile(
  20. IN TCHAR *szWebSiteName,
  21. IN TCHAR *szDumpFileName,
  22. IN TCHAR *szVirtualDir,
  23. OUT TCHAR *szUploadedDumpFileName
  24. );
  25. LRESULT CALLBACK
  26. KrnlDlgProc(
  27. HWND hwnd,
  28. UINT iMsg,
  29. WPARAM wParam,
  30. LPARAM lParam
  31. );
  32. BOOL LoadCsv(HANDLE hCsv, HWND hwnd);
  33. int GetKernelBuckets(HWND hwnd);
  34. BOOL ParseKrnlStatusFile();
  35. int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
  36. //VOID DoSubmitKernelFaults();
  37. void RefreshKrnlView(HWND hwnd);
  38. void DoLaunchBrowser(HWND hwnd, BOOL URL_OVERRIDE);
  39. BOOL WriteKernelStatusFile();
  40. void DoSubmitKernelFaults(HWND hwnd);
  41. #endif