NtPlugPlayGetDeviceInterfaceEnabled

__int64 __fastcall NtPlugPlayGetDeviceInterfaceEnabled(__int64 a1, __int64 a2){
  __int64 result; 
  __int64 v4; 
  __int64 v5; 
  __int64 v6[3]; 

  v6[0] = 0i64;
  result = PnpCtxGetNtPlugPlayRoutine(a1, 5, v6);
  if( (int)result >= 0 )
  {
    if( v6[0] )
      return((__int64(__fastcall *)(__int64, __int64, __int64, _QWORD))v6[0])(v4, a2, v5, 0i64);
    else
      return 3221225474i64;
  }
  return result;
}

Referenced by:

CmIsDeviceInterfaceEnabled