[CMAKE]
[reactos.git] / drivers / wdm / audio / backpln / portcls / port_topology.cpp
index 2c80a43..d1040aa 100644 (file)
@@ -251,7 +251,7 @@ CPortTopology::Init(
     // create the subdevice descriptor
     Status = PcCreateSubdeviceDescriptor(&m_SubDeviceDescriptor,
                                          2,
-                                         InterfaceGuids, 
+                                         InterfaceGuids,
                                          0, 
                                          NULL,
                                          2, 
@@ -299,7 +299,7 @@ CPortTopology::NewRegistryKey(
                             RegistryKeyType,
                             DesiredAccess,
                             m_pDeviceObject,
-                            NULL,//FIXME
+                            (ISubdevice*)this,
                             ObjectAttributes,
                             CreateOptions,
                             Disposition);