Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The Boost WINAPI partitioning scheme doesn't work for WINAPI_FAMILY_GAMES

オープン
#90 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
cpp

調査の方向性

まず、winapi ヘッダー全体で WINAPI_FAMILY のパーティショニングがどのように処理されているかを調べます。特に crypt.hpp、bcrypt.hpp、dbghelp.hpp、jobs.hpp、priority_class.hpp、security.hpp、shell.hpp を確認してください。既存の除外を Windows 10 SDK 19041 以降の WINAPI_FAMILY_GAMES API セットと比較します。対応している SwitchToThread などの API が利用可能で、一覧にある未対応の API が引き続き除外されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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
  • FlushViewOfFile
  • CompareObjectHandles
  • 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.

主要言語
C++
スター
73
フォーク
62
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

boostorg/winapi のほかの issue

boostorg/winapi の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。