mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +00:00
- fix build
svn path=/trunk/; revision=39666
This commit is contained in:
parent
bf46ba126d
commit
c15dfd0010
1 changed files with 54 additions and 0 deletions
54
reactos/drivers/wdm/audio/backpln/portcls/propertyhandler.c
Normal file
54
reactos/drivers/wdm/audio/backpln/portcls/propertyhandler.c
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
#include "private.h"
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
|
PinPropertyHandler(
|
||||||
|
IN PIRP Irp,
|
||||||
|
IN PKSIDENTIFIER Request,
|
||||||
|
IN OUT PVOID Data)
|
||||||
|
{
|
||||||
|
NTSTATUS Status = STATUS_UNSUCCESSFUL;
|
||||||
|
|
||||||
|
switch(Request->Id)
|
||||||
|
{
|
||||||
|
case KSPROPERTY_PIN_CTYPES:
|
||||||
|
case KSPROPERTY_PIN_DATAFLOW:
|
||||||
|
case KSPROPERTY_PIN_DATARANGES:
|
||||||
|
case KSPROPERTY_PIN_INTERFACES:
|
||||||
|
case KSPROPERTY_PIN_MEDIUMS:
|
||||||
|
case KSPROPERTY_PIN_COMMUNICATION:
|
||||||
|
case KSPROPERTY_PIN_CATEGORY:
|
||||||
|
case KSPROPERTY_PIN_NAME:
|
||||||
|
// KsPinPropertyHandler
|
||||||
|
break;
|
||||||
|
case KSPROPERTY_PIN_DATAINTERSECTION:
|
||||||
|
case KSPROPERTY_PIN_CINSTANCES:
|
||||||
|
case KSPROPERTY_PIN_GLOBALCINSTANCES:
|
||||||
|
case KSPROPERTY_PIN_NECESSARYINSTANCES:
|
||||||
|
case KSPROPERTY_PIN_PHYSICALCONNECTION:
|
||||||
|
case KSPROPERTY_PIN_CONSTRAINEDDATARANGES:
|
||||||
|
DPRINT1("Unhandled %x\n", Request->Id);
|
||||||
|
Status = STATUS_SUCCESS;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
Status = STATUS_NOT_FOUND;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return Status;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
|
TopologyPropertyHandler(
|
||||||
|
IN PIRP Irp,
|
||||||
|
IN PKSIDENTIFIER Request,
|
||||||
|
IN OUT PVOID Data)
|
||||||
|
{
|
||||||
|
return KsTopologyPropertyHandler(Irp,
|
||||||
|
Request,
|
||||||
|
Data,
|
||||||
|
NULL /* FIXME */);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue