WINAPI -> STDCALL, plus fix/expound documentation

svn path=/trunk/; revision=17379
This commit is contained in:
Royce Mitchell III 2005-08-14 04:36:36 +00:00
parent ffa5fea7b6
commit a6f00340b4

View file

@ -34,7 +34,7 @@ ULONG KdComponentTableEntries = 0;
/* /*
* @implemented * @implemented
*/ */
ULONG WINAPI ULONG STDCALL
vDbgPrintExWithPrefix(IN LPCSTR Prefix, vDbgPrintExWithPrefix(IN LPCSTR Prefix,
IN ULONG ComponentId, IN ULONG ComponentId,
IN ULONG Level, IN ULONG Level,
@ -133,7 +133,7 @@ vDbgPrintExWithPrefix(IN LPCSTR Prefix,
/* /*
* @implemented * @implemented
*/ */
ULONG WINAPI ULONG STDCALL
vDbgPrintEx(IN ULONG ComponentId, vDbgPrintEx(IN ULONG ComponentId,
IN ULONG Level, IN ULONG Level,
IN LPCSTR Format, 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 * ( first need to add those items to default registry and write the code
* ros-devs when DbgPrint() suddenly stops working ) * 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 ) if ( ComponentId == -1 )
return TRUE; return TRUE;