Skip to content

Try to get the client name during DefTerm handoff #19014

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

Merged
merged 2 commits into from
Jun 24, 2025

Conversation

DHowett
Copy link
Member

@DHowett DHowett commented Jun 6, 2025

No description provided.

@DHowett
Copy link
Member Author

DHowett commented Jun 24, 2025

/azp run

@DHowett DHowett enabled auto-merge (squash) June 24, 2025 19:55
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DHowett DHowett requested a review from lhecker June 24, 2025 19:55
try
{
auto processImageName{ wil::QueryFullProcessImageNameW<std::wstring>(_piClient.hProcess) };
_clientName = std::filesystem::path{ processImageName }.filename().wstring();
Copy link
Member

Choose a reason for hiding this comment

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

Could use a std::move here.

Copy link
Member Author

Choose a reason for hiding this comment

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

(which thing will we move? i guess we could move all of it)

Copy link
Member Author

Choose a reason for hiding this comment

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

presumably path{ move(image) }; everything else is an rvalue

Copy link
Member

Choose a reason for hiding this comment

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

Yeah exactly.

@DHowett DHowett merged commit cf95460 into main Jun 24, 2025
19 checks passed
@DHowett DHowett deleted the dev/duhowett/defterm-clientname branch June 24, 2025 21:33
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.22 Servicing Pipeline Jun 24, 2025
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.23 Servicing Pipeline Jun 24, 2025
DHowett added a commit that referenced this pull request Jun 24, 2025
(cherry picked from commit cf95460)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgbO1vA
Service-Version: 1.22
DHowett added a commit that referenced this pull request Jun 24, 2025
(cherry picked from commit cf95460)
Service-Card-Id: PVTI_lADOAF3p4s4AxadtzgbO1u8
Service-Version: 1.23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Cherry Picked
Status: Cherry Picked
Development

Successfully merging this pull request may close these issues.

2 participants