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.

55 lines
928 B

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. apictrl.h
  5. Abstract:
  6. Common types & structures for the ApiCtrl DLL.
  7. Author:
  8. Rick Swaney (rswaney) 13-Mar-1996
  9. Environment:
  10. User Mode
  11. --*/
  12. #ifndef _APICTRL_
  13. #define _APICTRL_
  14. //
  15. // Error Codes
  16. //
  17. #define APICTRL_ERR_NO_APIMON_WINDOW 0x80000001
  18. #define APICTRL_ERR_PARAM_TOO_LONG 0x80000002
  19. #define APICTRL_ERR_NULL_FILE_NAME 0x80000003
  20. #define APICTRL_ERR_FILE_ERROR 0x80000004
  21. //
  22. // Command messages
  23. //
  24. #define WM_OPEN_LOG_FILE (WM_USER + 200)
  25. #define WM_CLOSE_LOG_FILE (WM_USER + 201)
  26. //
  27. // Command Buffer mapped file
  28. //
  29. #define CMD_PARAM_BUFFER_NAME "ApiMonCmdBuf"
  30. #define CMD_PARAM_BUFFER_SIZE 1024
  31. //
  32. // API Prototypes
  33. //
  34. DWORD
  35. APIENTRY
  36. ApiOpenLogFile( LPSTR pszFileName );
  37. DWORD
  38. APIENTRY
  39. ApiCloseLogFile( LPSTR pszFileName );
  40. #endif // _APICTRL_