IAppxManifestApplication::GetAppUserModelId method

Gets the application user model identifier.

Syntax

HRESULT GetAppUserModelId(
  LPWSTR *appUserModelId
);

Parameters

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

   
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

Application User Model IDs

Concepts

IAppxManifestApplication

Reference