Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KozaniManager in-proc WinRT APIs and OOP classic COM APIs to activate remote apps #3383

Merged
merged 6 commits into from
Feb 2, 2023

Conversation

rhuang-msft
Copy link
Contributor

Created KozaniManager in-proc WinRT APIs and OOP classic COM APIs to activate remote apps. Added tests and test package to validate the changes.

… remote apps.

Created KozaniManager in-proc WinRT APIs and OOP classic COM APIs to activate remote apps. Added tests to validate the changes.
@rhuang-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rhuang-msft
Copy link
Contributor Author

@DrusTheAxe , @wcheng-msft , @cwruss , @sachintaMSFT - I have the PR open for review. Please take a look. Thanks!

@rhuang-msft
Copy link
Contributor Author

@rhuang-msft - test PR comment communication.

@kythant
Copy link
Contributor

kythant commented Jan 30, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rhuang-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@rhuang-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@@ -9,6 +9,16 @@

namespace winrt::Microsoft::Kozani::ManagerRuntime::implementation
{
ManagerRuntimeManager::ManagerRuntimeManager()
{
m_kozaniManager = wil::CoCreateInstance<KozaniManager, IKozaniManager>(CLSCTX_LOCAL_SERVER);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems a bit odd to do in the ctor but the ctor's private, right? Only way to get here is via the static Create()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we cannot put ctor in private as it will cause cpp/winrt build error. I tried and it failed. It is the same pattern as all the other APIs in this solution. None of them have private ctor.

{
#pragma region IKozaniStausCallback_methods
#pragma region IKozaniStatusCallback_methods
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the region name need to be 1 word?

(been a while since I used this pragma)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it can have space.

@rhuang-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@rhuang-msft rhuang-msft merged commit 9f4ccfc into develop Feb 2, 2023
@rhuang-msft rhuang-msft deleted the user/rhuang-msft/KozaniManagerWinRT branch February 2, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants