Author: janderwald
Date: Mon Oct 18 18:59:17 2010
New Revision: 49198
URL:
http://svn.reactos.org/svn/reactos?rev=49198&view=rev
Log:
[PORTCLS]
- Store Miniport object in the device descriptor
- Fixes assert in NVidia NForce Audio Driver
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.cpp [iso-8859-1] Mon Oct
18 18:59:17 2010
@@ -324,6 +324,9 @@
m_ServiceGroup->AddRef();
}
+ // store for node property requests
+ m_SubDeviceDescriptor->UnknownMiniport = UnknownMiniport;
+
// check if it supports IPinCount interface
Status = UnknownMiniport->QueryInterface(IID_IPinCount, (PVOID*)&PinCount);
if (NT_SUCCESS(Status))