PnpCtxRegQueryValueIndirect

NTSTATUS __stdcall PnpCtxRegQueryValueIndirect(
        HPNPCTX *hPnpCtx,
        VOID *hKey,
        WCHAR *RegValueName,
        UINT64 *RegDataType,
        VOID *Data,
        UINT64 *DataSize,
        UINT8 *Indirected){
  __int64(__fastcall *v7)(UINT64, VOID *, const wchar_t *, unsigned int *, unsigned __int64, __int64, bool *); 

  v7 = (__int64(__fastcall *)(UINT64, VOID *, const wchar_t *, unsigned int *, unsigned __int64, __int64, bool *))*((_QWORD *)hPnpCtx + 65);
  if( !v7 )
    v7 = PnpRegQueryValueIndirect;
  return((__int64(__fastcall *)(HPNPCTX *, VOID *, WCHAR *))v7)(hPnpCtx, hKey, RegValueName);
}

Referenced by:

CmGetDeviceInterfaceMappedPropertyFromRegValue
CmGetDeviceRegPropWorker
CmGetInstallerClassMappedPropertyFromRegValue
CmGetInstallerClassRegPropWorker
PnpGetGenericStoreProperty