Counter Strike : Global Offensive Source Code
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.

64 lines
1.5 KiB

  1. /************ (C) Copyright 2002 Valve, L.L.C. All rights reserved. ***********
  2. **
  3. ** The copyright to the contents herein is the property of Valve, L.L.C.
  4. ** The contents may be used and/or copied only with the written permission of
  5. ** Valve, L.L.C., or in accordance with the terms and conditions stipulated in
  6. ** the agreement/contract under which the contents have been supplied.
  7. **
  8. *******************************************************************************
  9. **
  10. ** Contents:
  11. **
  12. ** This file provides the public interface to the Steam service. This
  13. ** interface is described in the SDK documentation.
  14. **
  15. ******************************************************************************/
  16. #ifndef INCLUDED_STEAMWRITEMINIDUMP_H
  17. #define INCLUDED_STEAMWRITEMINIDUMP_H
  18. #if defined(_MSC_VER) && (_MSC_VER > 1000)
  19. #pragma once
  20. #endif
  21. #ifndef INCLUDED_STEAM2_USERID_STRUCTS
  22. #include "SteamCommon.h"
  23. #endif
  24. #ifdef __cplusplus
  25. extern "C"
  26. {
  27. #endif
  28. #ifdef _WIN32
  29. /*
  30. ** Write minidump using result of GetExceptionInformation() in an __except block
  31. */
  32. STEAM_API void STEAM_CALL SteamWriteMiniDumpUsingExceptionInfo
  33. (
  34. unsigned int uStructuredExceptionCode,
  35. struct _EXCEPTION_POINTERS * pExceptionInfo
  36. );
  37. STEAM_API void STEAM_CALL SteamWriteMiniDumpUsingExceptionInfoWithBuildId
  38. (
  39. unsigned int uStructuredExceptionCode,
  40. struct _EXCEPTION_POINTERS * pExceptionInfo,
  41. unsigned int uBuildID
  42. );
  43. STEAM_API void STEAM_CALL SteamWriteMiniDumpSetComment
  44. (
  45. const char *cszComment
  46. );
  47. #endif // _WIN32
  48. #ifdef __cplusplus
  49. }
  50. #endif
  51. #endif