EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

GetAppContainerRegistryLocation function

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

Syntax


HRESULT WINAPI GetAppContainerRegistryLocation(
  _In_  REGSAM desiredAccess,
  _Out_ PHKEY  phAppContainerKey
);

Parameters

desiredAccess [in]

Type: REGSAM

The desired registry access.

phAppContainerKey [out]

Type: PHKEY

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

Return value

Type: HRESULT

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

Return codeDescription
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.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Userenv.h

Library

Userenv.lib

DLL

Userenv.dll

See also

GetAppContainerFolderPath

 

 

커뮤니티 추가 항목

추가
표시:
© 2015 Microsoft