Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the application user model identifier.
Syntax
HRESULT GetAppUserModelId(
[out, retval] LPWSTR *appUserModelId
);
Parameters
[out, retval] appUserModelId
Type: LPWSTR*
The user model identifier.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The caller must free the memory allocated for appUserModelId using the CoTaskMemFree function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | appxpackaging.h |
See also
Concepts
Reference