The Boost WINAPI partitioning scheme doesn't work for WINAPI_FAMILY_GAMES
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- operating-systems
Research direction
Start by examining how WINAPI_FAMILY partitioning is handled across the winapi headers, especially crypt.hpp, bcrypt.hpp, dbghelp.hpp, jobs.hpp, priority_class.hpp, security.hpp, and shell.hpp. Compare the existing exclusions with the WINAPI_FAMILY_GAMES API set in the Windows 10 SDK 19041 or later; done means supported APIs such as SwitchToThread are available while the listed unsupported APIs remain excluded.
Written by the indexing model from the issue text.
Description
For Xbox development, we make use of WINAPI_FAMILY_GAMES which is supported by the Windows 10 SDK (19041) or later.
When you build with WINAPI_FAMILY=WINAPI_FAMILY_GAMES, boost ends up misconfiguring a number of APIs which are supported such as SwitchToThread. Part of the problem is that WINAPI_FAMILY_GAMES by design does NOT include everything in WINAPI_PARTITION_SYSTEM. WINAPI_FAMILY_GAMES contains many more Win32 APIs than UWP, but less than the full DESKTOP partition.
The good news is that most the Win32 APIs used by the winapi headers ARE supported for WINAPI_FAMILY_GAMES.
The only APIs that are NOT in WINAPI_FAMILY_GAMES are:
- The WinCrypt functions in crypt.hpp (bcrypt.hpp is supported instead).
- The dbghelp.hpp functions
FlushViewOfFileCompareObjectHandles- Jobs APIs in jobs.hpp
ImpersonateNamedPipeClient.TransactNamedPipe.GetNamedPipeClientComputerNameA,GetNamedPipeClientComputerNameW- The priority class APIs in priority_class.hpp
- The security object APIs in security.hpp
- Shell APIs in shell.hpp
ShowWindowAsync
Fixing this is important for making the rest of boost work on the Xbox platform.
Note that for Xbox development, we officially support the MSVC VS 2017 (v141) 15.9 or later toolset as well as clang/LLVM for Windows v11 or later. Due to some link warnings with newer SDKs and Microsoft GDKs, clang/LLVM for Windows v15 or later is recommended. We also recommend VS 2019 (v142) 16.11 or later.
There's no need to access the NDA Microsoft GDK with Xbox Extensions for this work as all the relevant APIs are in the public Windows SDK (19041) or later.
- Dominant language
- C++
- Stars
- 73
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/winapi
Similar issues
-
ai_reviewed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ydb-platform/ydb#53869 · 3 comments ·
-
bug cert blocker needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vllm-project/vllm-ascend#17329 ·