mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- Store the device object we're attached to in the device extension.
svn path=/trunk/; revision=12224
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
* If not, write to the Free Software Foundation,
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id: videoprt.c,v 1.28 2004/11/24 11:12:19 ekohl Exp $
|
||||
* $Id: videoprt.c,v 1.29 2004/12/19 15:51:51 navaraf Exp $
|
||||
*/
|
||||
|
||||
#include "videoprt.h"
|
||||
@@ -445,7 +445,8 @@ IntVideoPortFindAdapter(
|
||||
}
|
||||
|
||||
if (PhysicalDeviceObject != NULL)
|
||||
IoAttachDeviceToDeviceStack(DeviceObject, PhysicalDeviceObject);
|
||||
DeviceExtension->NextDeviceObject = IoAttachDeviceToDeviceStack(
|
||||
DeviceObject, PhysicalDeviceObject);
|
||||
|
||||
DPRINT("STATUS_SUCCESS\n");
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
* If not, write to the Free Software Foundation,
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id: videoprt.h,v 1.12 2004/12/18 22:14:39 blight Exp $
|
||||
* $Id: videoprt.h,v 1.13 2004/12/19 15:51:51 navaraf Exp $
|
||||
*/
|
||||
|
||||
#ifndef VIDEOPRT_H
|
||||
@@ -70,6 +70,7 @@ typedef struct _VIDEO_PORT_DEVICE_EXTENSTION
|
||||
{
|
||||
PDEVICE_OBJECT PhysicalDeviceObject;
|
||||
PDEVICE_OBJECT FunctionalDeviceObject;
|
||||
PDEVICE_OBJECT NextDeviceObject;
|
||||
UNICODE_STRING RegistryPath;
|
||||
PKINTERRUPT InterruptObject;
|
||||
KSPIN_LOCK InterruptSpinLock;
|
||||
|
||||
Reference in New Issue
Block a user