[DllImport("kernel32.dll", SetLastError=true)]
static extern void GetCurrentThreadStackLimits(out uint lowLimit, out uint highLimit);
Declare Function GetCurrentThreadStackLimits Lib "kernel32.dll" (ByRef lowLimit As UInteger, ByRef highLimit As UInteger)
None.
Do you know one? Please contribute it!
None.
Please add some!
uint low;
uint high;
GetCurrentThreadStackLimits(out low, out high);
var size = (high - low) / 1024;