ntdll: change a noisy FIXME to a WARN (1/2)

Austin English austinenglish at gmail.com
Thu May 21 15:06:13 CDT 2009


Only really shows up for the .NET framework, where it's really noisy.
Converted it to a WARN, and added a FIXME comment above it, noting its
use for .Net framework.

See bug 18555.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 58320c3..99aa70f 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -1307,7 +1307,8 @@ NTSTATUS WINAPI NtPowerInformation(
 			return STATUS_SUCCESS;
 		}
 		default:
-			FIXME("Unimplemented NtPowerInformation action: %d\n", InformationLevel);
+			/* FIXME: Needed by .NET Framework */
+			WARN("Unimplemented NtPowerInformation action: %d\n", InformationLevel);
 			return STATUS_NOT_IMPLEMENTED;
 	}
 }
diff --git a/dlls/powrprof/powrprof.c b/dlls/powrprof/powrprof.c
index c51434f..8a9fc73 100644
--- a/dlls/powrprof/powrprof.c
+++ b/dlls/powrprof/powrprof.c
@@ -299,7 +299,8 @@ BOOLEAN WINAPI WritePwrScheme(PUINT puiID, LPWSTR lpszName, LPWSTR lpszDescripti
 
 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 {
-   FIXME("(%p, %d, %p) not fully implemented\n", hinstDLL, fdwReason, lpvReserved);
+   /* FIXME: Needed by .NET Framework */
+   WARN("(%p, %d, %p) not fully implemented\n", hinstDLL, fdwReason, lpvReserved);
 
    switch(fdwReason) {
       case DLL_PROCESS_ATTACH: {


More information about the wine-patches mailing list