WINAPI -> STDCALL, plus fix/expound documentation
Modified: trunk/reactos/ntoskrnl/rtl/debug.c
_____
Modified: trunk/reactos/ntoskrnl/rtl/debug.c
--- trunk/reactos/ntoskrnl/rtl/debug.c 2005-08-14 04:24:01 UTC (rev
17378)
+++ trunk/reactos/ntoskrnl/rtl/debug.c 2005-08-14 04:36:36 UTC (rev
17379)
@@ -34,7 +34,7 @@
/*
* @implemented
*/
-ULONG WINAPI
+ULONG STDCALL
vDbgPrintExWithPrefix(IN LPCSTR Prefix,
IN ULONG ComponentId,
IN ULONG Level,
@@ -133,7 +133,7 @@
/*
* @implemented
*/
-ULONG WINAPI
+ULONG STDCALL
vDbgPrintEx(IN ULONG ComponentId,
IN ULONG Level,
IN LPCSTR Format,
@@ -156,8 +156,9 @@
*
*
https://www.osronline.com/article.cfm?article=295
*
- * ( first need to add those items to registry by default tho so
we don't anger
- * ros-devs when DbgPrint() suddenly stops working )
+ * ( first need to add those items to default registry and write
the code
+ * to load those settings so we don't anger ros-devs when
DbgPrint() suddenly
+ * stops working )
*
* ( also when you do this, remove -1 hack from
DbgQueryDebugFilterState() )
*/
@@ -233,6 +234,7 @@
{
int i;
+ /* HACK HACK HACK - see comments in DbgPrint() */
if ( ComponentId == -1 )
return TRUE;