WINAPI -> STDCALL, plus fix/expound documentation
authorRoyce Mitchell III <royce3@ev1.net>
Sun, 14 Aug 2005 04:36:36 +0000 (04:36 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Sun, 14 Aug 2005 04:36:36 +0000 (04:36 +0000)
svn path=/trunk/; revision=17379

reactos/ntoskrnl/rtl/debug.c

index 396076a..0986ff4 100644 (file)
@@ -34,7 +34,7 @@ ULONG KdComponentTableEntries = 0;
 /*
  * @implemented
  */
 /*
  * @implemented
  */
-ULONG WINAPI
+ULONG STDCALL
 vDbgPrintExWithPrefix(IN LPCSTR Prefix,
                       IN ULONG ComponentId,
                       IN ULONG Level,
 vDbgPrintExWithPrefix(IN LPCSTR Prefix,
                       IN ULONG ComponentId,
                       IN ULONG Level,
@@ -133,7 +133,7 @@ vDbgPrintExWithPrefix(IN LPCSTR Prefix,
 /*
  * @implemented
  */
 /*
  * @implemented
  */
-ULONG WINAPI
+ULONG STDCALL
 vDbgPrintEx(IN ULONG ComponentId,
             IN ULONG Level,
             IN LPCSTR Format,
 vDbgPrintEx(IN ULONG ComponentId,
             IN ULONG Level,
             IN LPCSTR Format,
@@ -156,8 +156,9 @@ DbgPrint(PCH Format, ...)
         *
         * https://www.osronline.com/article.cfm?article=295
         *
         *
         * 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() )
         */
         *
         * ( also when you do this, remove -1 hack from DbgQueryDebugFilterState() )
         */
@@ -233,6 +234,7 @@ DbgQueryDebugFilterState(IN ULONG ComponentId,
 {
        int i;
 
 {
        int i;
 
+       /* HACK HACK HACK - see comments in DbgPrint() */
        if ( ComponentId == -1 )
                return TRUE;
 
        if ( ComponentId == -1 )
                return TRUE;