1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4
5/*============================================================
6**
7** Class: COMMemoryFailPoint
8**
9**
10** Purpose: Native methods for System.Runtime.MemoryFailPoint.
11** These are to implement memory gates to limit allocations
12** when progress will likely result in an OOM.
13**
14**
15===========================================================*/
16
17#ifndef _COMMEMORYFAILPOINT_H
18#define _COMMEMORYFAILPOINT_H
19
20#include "fcall.h"
21
22class COMMemoryFailPoint
23{
24public:
25 static FCDECL2(void, GetMemorySettings, UINT64* pMaxGCSegmentSize, UINT64* pTopOfMemory);
26};
27
28#endif // _COMMEMORYFAILPOINT_H
29