# hResult

> The specific Windows HRESULT code.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Windows.WebCam](/engine/6000.6/script-reference/unityengine/windows/webcam.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public long hResult
```

### Remarks

If the operation fails, this contains the actual error code returned by the Windows API.

For details on Windows HRESULT values, see Microsoft's documentation on [HRESULT](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/0642cb2f-2075-4469-918c-4441e69c548a).
