microsoft / microsoft/wil

wil should add GUID-related APIs

Open
#362 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

WIL has these constants:

    //! For {guid} string form. Includes space for the null terminator.
    constexpr size_t guid_string_buffer_length = 39;
 
    //! For {guid} string form. Not including the null terminator.
    constexpr size_t guid_string_length = 38;

but no complementary APIs to do conversion to/from std::string. Plus things for CoCreateGuid, format to/from strings, etc. I know many teams end up using cppwinrt's helpers to do this instead.

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

No files or tests are named. Start by reviewing WIL's existing GUID constants and related helper conventions, then clarify the scope for string conversion, formatting, parsing, and CoCreateGuid helpers. Done means an agreed API set is implemented with coverage for the requested GUID operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.