---
UID: NF:editionupgradehelper.IEditionUpgradeHelper.ShowProductKeyUI
title: IEditionUpgradeHelper::ShowProductKeyUI (editionupgradehelper.h)
description: Displays the user interface through which the user can provide a product key to upgrade or get a genuine copy of the operating system.
old-location: winprog\ieditionupgradehelper_showproductkeyui.htm
tech.root: DevNotes
ms.assetid: 504B3699-8837-4C14-959A-B3B4385E8932
ms.date: 12/05/2018
ms.keywords: IEditionUpgradeHelper interface [Windows API],ShowProductKeyUI method, IEditionUpgradeHelper.ShowProductKeyUI, IEditionUpgradeHelper::ShowProductKeyUI, ShowProductKeyUI, ShowProductKeyUI method [Windows API], ShowProductKeyUI method [Windows API],IEditionUpgradeHelper interface, editionupgradehelper/IEditionUpgradeHelper::ShowProductKeyUI, winprog.ieditionupgradehelper_showproductkeyui
f1_keywords:
- editionupgradehelper/IEditionUpgradeHelper.ShowProductKeyUI
dev_langs:
- c++
req.header: editionupgradehelper.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 10 [desktop apps only]
req.target-min-winversvr: Windows Server 2016 [desktop apps only]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: Editionupgradehelper.idl
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- editionupgradehelper.h
api_name:
- IEditionUpgradeHelper.ShowProductKeyUI
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IEditionUpgradeHelper::ShowProductKeyUI


## -description


Displays the user interface through which the user  can provide a product key to upgrade or get a genuine copy of the operating system.


## -parameters






## -returns



If this method succeeds, it returns <b xmlns:loc="http://microsoft.com/wdcml/l10n">S_OK</b>. Otherwise, it returns an <b xmlns:loc="http://microsoft.com/wdcml/l10n">HRESULT</b> error code.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/editionupgradehelper/nn-editionupgradehelper-ieditionupgradehelper">IEditionUpgradeHelper</a>
 

 

