# Werunregisterfile

```csharp
[DllImport("wer.dll", SetLastError = true)]
public static extern HRESULT WerUnregisterFile(ulong dwRequestId
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/werapi/nf-werapi-werunregisterfile)
