FIXME on unimplemented feature made less obtrusive.

This commit is contained in:
Morten Eriksen 1999-08-15 14:20:18 +00:00 committed by Alexandre Julliard
parent dff30ac2c7
commit 467845a081
1 changed files with 19 additions and 2 deletions

View File

@ -858,8 +858,25 @@ BOOL WINAPI GetDiskFreeSpaceExA( LPCSTR root,
if (avail)
{
if (FIXME_ON(dosfs))
{
/* On Windows2000, we need to check the disk quota
allocated for the user owning the calling process. We
don't want to be more obtrusive than necessary with the
FIXME messages, so don't print the FIXME unless Wine is
actually masquerading as Windows2000. */
OSVERSIONINFOA ovi;
ovi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
if (GetVersionExA(&ovi))
{
if (ovi.dwPlatformId == VER_PLATFORM_WIN32_NT && ovi.dwMajorVersion > 4)
FIXME_(dosfs)("no per-user quota support yet\n");
/* Quick hack */
}
}
/* Quick hack, should eventually be fixed to work 100% with
Windows2000 (see comment above). */
avail->HighPart = totalfree->HighPart;
avail->LowPart = totalfree->LowPart ;
}