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.

88 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. RxErrLog.h
  5. Abstract:
  6. Prototypes for down-level remoted RxNetErrorLog routines.
  7. Author:
  8. Richard Firth (rfirth) 28-May-1991
  9. Notes:
  10. You must include <windef.h>, <lmcons.h>, and <lmerrlog.h> before this file.
  11. Revision History:
  12. 28-May-1991 RFirth
  13. Created dummy version of this file.
  14. 11-Nov-1991 JohnRo
  15. Implement remote NetErrorLog APIs.
  16. Created real version of this file. Added revision history.
  17. 12-Nov-1991 JohnRo
  18. Added RxpConvertErrorLogArray().
  19. --*/
  20. #ifndef _RXERRLOG_
  21. #define _RXERRLOG_
  22. // API handlers (called by API stubs), in alphabetical order:
  23. NET_API_STATUS
  24. RxNetErrorLogClear (
  25. IN LPTSTR UncServerName,
  26. IN LPTSTR BackupFile OPTIONAL,
  27. IN LPBYTE Reserved OPTIONAL
  28. );
  29. NET_API_STATUS
  30. RxNetErrorLogRead (
  31. IN LPTSTR UncServerName,
  32. IN LPTSTR Reserved1 OPTIONAL,
  33. IN LPHLOG ErrorLogHandle,
  34. IN DWORD Offset,
  35. IN LPDWORD Reserved2 OPTIONAL,
  36. IN DWORD Reserved3,
  37. IN DWORD OffsetFlag,
  38. OUT LPBYTE * BufPtr,
  39. IN DWORD PrefMaxSize,
  40. OUT LPDWORD BytesRead,
  41. OUT LPDWORD TotalBytes
  42. );
  43. #if 0
  44. NET_API_STATUS
  45. RxNetErrorLogWrite (
  46. IN LPBYTE Reserved1 OPTIONAL,
  47. IN DWORD Code,
  48. IN LPTSTR Component,
  49. IN LPBYTE Buffer,
  50. IN DWORD NumBytes,
  51. IN LPBYTE MsgBuf,
  52. IN DWORD StrCount,
  53. IN LPBYTE Reserved2 OPTIONAL
  54. );
  55. #endif // 0
  56. // Private routine(s), in alphabetical order:
  57. NET_API_STATUS
  58. RxpConvertErrorLogArray(
  59. IN LPVOID InputArray,
  60. IN DWORD InputByteCount,
  61. OUT LPBYTE * OutputArrayPtr, // will be alloc'ed (free w/ NetApiBufferFree).
  62. OUT LPDWORD OutputByteCountPtr
  63. );
  64. #endif // _RXERRLOG_