|
From: | Alex Bennée |
Subject: | Re: [PATCH v2 05/12] util/oslib-win32: add qemu_get_host_physmem implementation |
Date: | Wed, 22 Jul 2020 12:31:06 +0100 |
User-agent: | mu4e 1.5.5; emacs 28.0.50 |
Stefan Weil <sw@weilnetz.de> writes: > Am 22.07.20 um 12:32 schrieb 罗勇刚(Yonggang Luo): > >> I would suggest use loadLibrary to retrieve the function, if not >> available, then return 0 (For Win Xp and Vista); > > > Maybe using GlobalMemoryStatusEx is a better alternative. It is > available since XP. I would welcome an alternative patch. I have no way to test if it works anyway. -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |