PnpCtxRegOpenKey

NTSTATUS __stdcall PnpCtxRegOpenKey(
        HPNPCTX *hPnpCtx,
        VOID *hKey,
        WCHAR *SubKey,
        UINT64 RegOptions,
        UINT64 DesiredAccess,
        VOID **phkResult){
  __int64 v7; 

  v7 = 0i64;
  if( hPnpCtx )
    v7 = *((_QWORD *)hPnpCtx + 28);
  return SysCtxRegOpenKey(v7, hKey, SubKey, RegOptions, DesiredAccess, phkResult);
}

Referenced by:

DrvDbGetConfigurationSubKeyCallback
DrvDbGetDriverPackageMappedProperty
DrvDbOpenObjectRegKey
PiPnpRtlInit
PipCommitPendingOsExtensionResource
PipCommitPendingService
PipHardwareConfigExists
PipMigrateCleanServiceCallback
PipMigratePnpState
PipProcessPendingObjects
PipResetDevices
PipUpdateDeviceProducts
PpDevCfgInit