IopDeleteDevice

VOID __stdcall IopDeleteDevice(PVOID Object){
  void *v2; 
  struct _DMA_ADAPTER *v3; 
  PnpDeleteAllDependencyRelations((DEVICE_OBJECT *)Object);
  IopDestroyDeviceNode(*(_DEVICE_NODE **)(*((_QWORD *)Object + 39) + 40i64));
  if( (*(_DWORD *)(*((_QWORD *)Object + 39) + 32i64) & 0x1000) != 0 )
    IopCleanupNotifications(*((DRIVER_OBJECT **)Object + 1), Object);
  v2 = (void *)_InterlockedExchange64((volatile __int64 *)Object + 7, 0i64);
  if( v2 )
    ExFreePoolWithTag(v2, 0);
  v3 = (struct _DMA_ADAPTER *)*((_QWORD *)Object + 1);
  if( v3 )
    HalPutDmaAdapter(v3);
}

Referenced by:

No references.