PpvUtilIsPdo

UINT8 __stdcall PpvUtilIsPdo(DEVICE_OBJECT *PhysicalDeviceObject){
  __int64 v1; 
  UINT8 result; 
  result = 0;
  if( PhysicalDeviceObject )
  {
    v1 = *(_QWORD *)(*((_QWORD *)PhysicalDeviceObject + 39) + 40i64);
    if( v1 )
    {
      if( (*(_DWORD *)(v1 + 396) & 0x20000) == 0 )
        return 1;
    }
  }
  return result;
}

Referenced by:

IovUtilIsWdmStack
VfPnpVerifyIrpStackUpward