FreeUserPhysicalPages

[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.Bool)]
public static extern bool FreeUserPhysicalPages(
   IntPtr hProcess,
   ref ulong lpNumberOfPages,
   ulong[] userPfnArray
);

Microsoft documentation: Link

Last updated