diff --git a/virtual-display-driver/src/device_context.rs b/virtual-display-driver/src/device_context.rs index cab95fa2..b3b8abc7 100644 --- a/virtual-display-driver/src/device_context.rs +++ b/virtual-display-driver/src/device_context.rs @@ -54,6 +54,7 @@ pub struct DeviceContext { WDF_DECLARE_CONTEXT_TYPE!(pub DeviceContext); // SAFETY: Raw ptr is managed by external library +unsafe impl Send for DeviceContext {} unsafe impl Sync for DeviceContext {} impl DeviceContext {