SHGetPropertyStoreForWindow - How to set properties on existing System.AppUserModel.ID
问题 So I split my window from the main tab group via IPropertyStore via SHGetPropertyStoreForWindow like so: IPropertyStore_SetValue(pps, PKEY_AppUserModel_ID.address(), 'Contoso.Scratch'); pps->Commit(); Then the user later decides he wants to rename it so with my feature he does: IPropertyStore_SetValue(pps, PKEY_AppUserModel_RelaunchCommand, customLaunchPath); IPropertyStore_SetValue(pps, PKEY_AppUserModel_RelaunchDisplayNameResource, 'my first name'); pps->Commit(); This works successfully