IAppxManifestApplication::GetAppUserModelId method

Gets the application user model identifier.

Syntax


HRESULT GetAppUserModelId(
  [out, retval]  LPWSTR *appUserModelId
);

Parameters

appUserModelId [out, retval]

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]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxManifestApplication is defined as 5da89bf4-3773-46be-b650-7e744863b7e8

See also

Reference
IAppxManifestApplication
Concepts
Application User Model IDs

 

 

Show:
© 2014 Microsoft