Author: cwittich
Date: Mon Jul 9 00:38:35 2007
New Revision: 27518
URL:
http://svn.reactos.org/svn/reactos?rev=27518&view=rev
Log:
-fix some warnings
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/ResourceList.c
trunk/reactos/drivers/wdm/audio/backpln/portcls/private.h
trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.c
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/ResourceList.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/ResourceList.c (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/ResourceList.c Mon Jul 9 00:38:35
2007
@@ -218,7 +218,7 @@
DPRINT("PcNewResourceList\n");
- new_list = ExAllocatePoolWithTag(sizeof(IResourceList), PoolType, 'LRcP');
+ new_list = ExAllocatePoolWithTag(sizeof(IResourceList), PoolType, TAG_PORTCLASS);
if ( ! new_list )
{
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/private.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/private.h (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/private.h Mon Jul 9 00:38:35 2007
@@ -16,6 +16,9 @@
#include <debug.h>
#include <portcls.h>
+
+#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) +
((D)<<24))
+#define TAG_PORTCLASS TAG('P', 'C', 'L', 'S')
#ifdef _MSC_VER
#define STDCALL
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.c (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.c Mon Jul 9 00:38:35 2007
@@ -10,18 +10,24 @@
LONG Unknown,
PIRP Irp)
{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
}
void
KsoGetIrpTargetFromFileObject(
LONG Unknown)
{
+ UNIMPLEMENTED;
+ return;
}
void
KsoGetIrpTargetFromIrp(
LONG Unknown)
{
+ UNIMPLEMENTED;
+ return;
}
void
@@ -31,6 +37,8 @@
LONG Unknown3,
LONG Unknown4)
{
+ UNIMPLEMENTED;
+ return;
}
NTSTATUS
@@ -44,6 +52,8 @@
LONG Unknown6,
LONG Unknown7)
{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS
@@ -54,6 +64,8 @@
LONG Unknown3,
CHAR Unknown4)
{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS
@@ -63,12 +75,16 @@
LONG Unknown3,
LONG Unknown4)
{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS
PcCreateSubdeviceDescriptor(
/* TODO */ )
{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
}
/* PcDeleteSubdeviceDescriptor */
@@ -97,4 +113,4 @@
/* PcValidateConnectRequest */
-/* PcVerifyFilterIsReady */
+/* PcVerifyFilterIsReady */