You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If both dwMinimumWorkingSetSize and dwMaximumWorkingSetSize have the value (SIZE_T)–1, the function removes as many pages as possible from the working set of the specified process.
SIZE_T is a ULONG_PTR, emphasis on unsigned, so is not likely to get changed here. Just an unfortunate API design. But will leave this open if folks want to do something to improve the situation here.
See https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-setprocessworkingsetsize the parameters can be -1
microsoft/windows-rs#3281
The text was updated successfully, but these errors were encountered: