---
description: A continuation of the ICoreWebView2ProcessFailedEventArgs2 interface fot getting blocked file for code integrity process failures.
title: WebView2 Win32 C++ ICoreWebView2ProcessFailedEventArgs3
ms.date: 11/11/2024
keywords: IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2ProcessFailedEventArgs3
topic_type: 
- APIRef
api_name:
- ICoreWebView2ProcessFailedEventArgs3
- ICoreWebView2ProcessFailedEventArgs3.get_FailureSourceModulePath
api_type:
- COM
api_location:
- embeddedbrowserwebview.dll
---

# interface ICoreWebView2ProcessFailedEventArgs3

[!INCLUDE [deprecation-note](../includes/deprecation-note.md)]

```
interface ICoreWebView2ProcessFailedEventArgs3
  : public ICoreWebView2ProcessFailedEventArgs2
```

A continuation of the [ICoreWebView2ProcessFailedEventArgs2](icorewebview2processfailedeventargs2.md#icorewebview2processfailedeventargs2) interface fot getting blocked file for code integrity process failures.

## Summary

 Members                        | Descriptions
--------------------------------|---------------------------------------------
[get_FailureSourceModulePath](#get_failuresourcemodulepath) | This property is the full path of the module that caused the crash in cases of Windows Code Integrity failures.

## Applies to

Product                         | Introduced
--------------------------------|---------------------------------------------
WebView2 Win32            |    1.0.2420.47
WebView2 Win32 Prerelease |    1.0.2470

## Members

#### get_FailureSourceModulePath

This property is the full path of the module that caused the crash in cases of Windows Code Integrity failures.

> public HRESULT [get_FailureSourceModulePath](#get_failuresourcemodulepath)(LPWSTR * value)

[Windows Code Integrity](/mem/intune/user-help/you-need-to-enable-code-integrity) is a feature that verifies the integrity and authenticity of dynamic-link libraries (DLLs) on Windows systems. It ensures that only trusted code can run on the system and prevents unauthorized or malicious modifications. When ProcessFailed occurred due to a failed Code Integrity check, this property returns the full path of the file that was prevented from loading on the system. The webview2 process which tried to load the DLL will fail with exit code STATUS_INVALID_IMAGE_HASH(-1073740760). A file can fail integrity check for various reasons, such as:

* It has an invalid or missing signature that does not match the publisher or signer of the file.

* It has been tampered with or corrupted by malware or other software.

* It has been blocked by an administrator or a security policy. This property always will be the empty string if failure is not caused by STATUS_INVALID_IMAGE_HASH.

The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings).

