feat(gameinput): add GameInputInitialize, the public v0 entry point #39
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Freminet--ScarlettX!39
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-39"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@wildheathen on GitHub · 2026-11-21 19:28 UTC · original
wildheathen:feat/gameinput-initialize→main· +38 −0 · 3 files · 1 commits · openSummary
Adds
GameInputInitialize, the public v0 entry point of GameInput, toGameInput.dll:The shim exposes the v0
IGameInputvtable, so only the v0 IID is accepted; any other IID answersE_NOINTERFACE, as a v0 runtime would. A null output pointer isE_INVALIDARG, and a nullriidis treated as an unsupported IID. On success it creates the instance exactly likeGameInputCreate.Signature and IID from the public GameInput reference (learn.microsoft.com).
Tests
tests/test_gameinput.cpp: the v0 IID returns a workingIGameInput(timestamp through both the vtable and the flat API, then destroyed), an unrelated IID givesE_NOINTERFACEwith a null output, and a null output pointer givesE_INVALIDARG.Verification
origin/main(test_boot_hello_scarlett,test_boot_rt_showcase,test_d3d12_guest_texture; see #1 and #2).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.