microsoft / microsoft/wil

get_module_reference_for_thread is undocumented on Wiki

Open
#232 10 comments 0 reactions 1 assignee View on GitHub

@jonwis is already working on this.

Since Apr 26, 2022.

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

Description

This useful function seems to be a part of win32_helpers.h, but lacks any documentation on Wiki:
https://github.com/microsoft/wil/wiki/Win32-helpers#other-helper-functions

It lives just next to GetModuleInstanceHandle so it probably should be documented nearby too, although admittedly its naming convention is not too consistent with what is "near" that function. Perhaps GetModuleReferenceForThread would've been more fortunate?

Curiously, it does have a test:
https://github.com/microsoft/wil/blob/23fca640eae099f9120545483ae7d5d0a98a6fa5/tests/wiTest.cpp#L3554

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.