--- title: "Deactivate Function - WPF unmanaged API reference" titleSuffix: "" ms.date: "03/30/2017" dev_langs: - "cpp" api_name: - "Deactivate" api_location: - "PresentationHost_v0400.dll" ms.assetid: 3e81be16-24c7-4399-b242-6268feaa49d7 --- # Deactivate Function (WPF Unmanaged API Reference) This API supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Used by the Windows Presentation Foundation (WPF) infrastructure for windows management. ## Syntax ```cpp void Deactivate() ``` ## Requirements **Platforms:** See [.NET Framework System Requirements](/dotnet/framework/get-started/system-requirements). **DLL:** In the .NET Framework 3.0 and 3.5: PresentationHostDLL.dll In the .NET Framework 4 and later: PresentationHost_v0400.dll **.NET Framework Version:** Available since 3.0 ## See also - [WPF Unmanaged API Reference](wpf-unmanaged-api-reference.md)