-
Notifications
You must be signed in to change notification settings - Fork 344
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
Conversation
… remote apps. Created KozaniManager in-proc WinRT APIs and OOP classic COM APIs to activate remote apps. Added tests to validate the changes.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@DrusTheAxe , @wcheng-msft , @cwruss , @sachintaMSFT - I have the PR open for review. Please take a look. Thanks! |
@rhuang-msft - test PR comment communication. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
test/Kozani/KozaniManagerRuntimeTests/KozaniManagerRuntimeTests.cpp
Outdated
Show resolved
Hide resolved
test/Kozani/KozaniManagerRuntimeTests/KozaniManagerRuntimeTests.cpp
Outdated
Show resolved
Hide resolved
test/Kozani/KozaniManagerRuntimeTests/KozaniManagerRuntimeTests.cpp
Outdated
Show resolved
Hide resolved
test/Kozani/KozaniManagerRuntimeTests/KozaniManagerRuntimeTests.cpp
Outdated
Show resolved
Hide resolved
test/Kozani/KozaniManagerRuntimeTests/KozaniManagerRuntimeTests.cpp
Outdated
Show resolved
Hide resolved
…com/microsoft/WindowsAppSDK into user/rhuang-msft/KozaniManagerWinRT
/azp run |
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); |
There was a problem hiding this comment.
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()?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it can have space.
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Created KozaniManager in-proc WinRT APIs and OOP classic COM APIs to activate remote apps. Added tests and test package to validate the changes.