我需要可用的最大的页文件大小,因为当页文件使用到一定程度时,Windows会自动对他进行扩充,直到不能再扩充为止。 而GlobalMemoryStatus 函数取出来的 dwTotalPageFile (Total possible size, in bytes, of the paging file. Note that this number does not represent the actual physical size of the paging file on disk. ) 不能代表整个实际物理尺寸的页文件大小。
可能是我提问时没有说清楚,在这里更正一下。