Implement IoInvalidateDeviceRelations

svn path=/trunk/; revision=15201
This commit is contained in:
Hervé Poussineau 2005-05-10 09:34:20 +00:00
parent fa832dae41
commit c32fd82fbf

View file

@ -27,8 +27,15 @@ PDRIVER_OBJECT IopRootDriverObject;
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
PDEVICE_NODE FASTCALL
IopGetDeviceNode(
PDEVICE_OBJECT DeviceObject)
{
return DeviceObject->DeviceObjectExtension->DeviceNode;
}
/* /*
* @unimplemented * @implemented
*/ */
VOID VOID
STDCALL STDCALL
@ -36,14 +43,7 @@ IoInvalidateDeviceRelations(
IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_OBJECT DeviceObject,
IN DEVICE_RELATION_TYPE Type) IN DEVICE_RELATION_TYPE Type)
{ {
CHECKPOINT1; IopInvalidateDeviceRelations(IopGetDeviceNode(DeviceObject), Type);
}
PDEVICE_NODE FASTCALL
IopGetDeviceNode(
PDEVICE_OBJECT DeviceObject)
{
return DeviceObject->DeviceObjectExtension->DeviceNode;
} }
/* /*