Skip to content

Latest commit

 

History

History
110 lines (89 loc) · 2.61 KB

nf-userenv-getappcontainerregistrylocation.md

File metadata and controls

110 lines (89 loc) · 2.61 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:userenv.GetAppContainerRegistryLocation
GetAppContainerRegistryLocation function (userenv.h)
Gets the location of the registry storage associated with an app container.
GetAppContainerRegistryLocation
GetAppContainerRegistryLocation function [Windows Shell]
shell.getappcontainerregistrylocation
userenv/GetAppContainerRegistryLocation
shell\getappcontainerregistrylocation.htm
shell
DAD7EC07-D57D-40F5-AA99-AD7579910294
12/05/2018
GetAppContainerRegistryLocation, GetAppContainerRegistryLocation function [Windows Shell], shell.getappcontainerregistrylocation, userenv/GetAppContainerRegistryLocation
userenv.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Userenv.lib
Userenv.dll
Windows
19H1
GetAppContainerRegistryLocation
userenv/GetAppContainerRegistryLocation
c++
APIRef
kbSyntax
DllExport
Userenv.dll
GetAppContainerRegistryLocation

GetAppContainerRegistryLocation function

-description

Gets the location of the registry storage associated with an app container.

-parameters

-param desiredAccess [in]

Type: REGSAM

The desired registry access.

-param phAppContainerKey [out]

Type: PHKEY

A pointer to an HKEY that, when this function returns successfully, receives the registry storage location for the current profile.

-returns

Type: HRESULT

This function returns an HRESULT code, including but not limited to the following:

Return code Description
S_OK
The operation completed successfully.
E_INVALIDARG
The caller is not running as or impersonating a user who can access this profile.

-remarks

The function gets the registry storage for the current user. To get the registry storage for another user, you must impersonate that user.

-see-also

GetAppContainerFolderPath