Gets the location of the registry storage associated with an app container.
USERENVAPI HRESULT GetAppContainerRegistryLocation( REGSAM desiredAccess, PHKEY phAppContainerKey );
The desired registry access.
A pointer to an HKEY that, when this function returns successfully, receives the registry storage location for the current profile.
This function returns an HRESULT code, including but not limited to the following:
||The operation completed successfully.|
||The caller is not running as or impersonating a user who can access this profile.|
The function gets the registry storage for the current user. To get the registry storage for another user, you must impersonate that user.
|Windows version||Windows 8 [desktop apps only] Windows Server 2012 [desktop apps only]|