microsoft / microsoft/wil

Add wil::GetCurrentProcessPath() helper

Open
#532 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
3k
Forks
300
Avg merge
19h 12m
Merged PRs (30d)
1

Description

Describe the bug

Notifications uses the wil::GetModuleFileNameExW to get the calling process path. Consider adding a wil helper to return the path instead of returning via an out param.

Steps to reproduce the bug

Suggestion for improvement.

Expected behavior

No response

Screenshots

No response

NuGet package version

No response

Packaging type

No response

Windows version

No response

IDE

No response

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing wil::GetModuleFileNameExW usage in Notifications and the helper declarations and tests in WIL. Determine the expected return shape for wil::GetCurrentProcessPath(); done means the helper provides the current process path without an out parameter and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.