close

成員宣告

[DllImport("kernel32.dll")]

static extern Boolean SetProcessWorkingSetSize(IntPtr procHandle, Int32 min, Int32 max);

 

 

使用:

SetProcessWorkingSetSize(System.Diagnostics.Process.GetCurrentProcess().Handle, -1, -1);

 


arrow
arrow
    全站熱搜

    welkingunther 發表在 痞客邦 留言(0) 人氣()