# Please make sure that SDK headers match actual values as well as documentation 

**URL:** <https://forums.unrealengine.com/t/please-make-sure-that-sdk-headers-match-actual-values-as-well-as-documentation/2858393>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [October 10, 2025, 8:11pm UTC](https://forums.unrealengine.com/t/please-make-sure-that-sdk-headers-match-actual-values-as-well-as-documentation/2858393 "2025-10-10T20:11:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 10, 2025, 8:11pm UTC](https://forums.unrealengine.com/t/please-make-sure-that-sdk-headers-match-actual-values-as-well-as-documentation/2858393/1 "2025-10-10T20:11:21Z")

</div>

Hi,

The function EOS\_Achievements\_UnlockAchievements is [documented as returning EOS\_Result](https://dev.epicgames.com/docs/api-ref/functions/eos-achievements-unlock-achievements), yet the corresponding declaration in header files is **void**. Which is it ?

We now use code generation based on the header files for our bindings and thus can’t check the return value, however we used to check it.

Regards,

---

<div class="post-metadata">

**Author:** ![itho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/itho/32/1130265_2.png) [@itho](https://forums.unrealengine.com/u/itho)\
**Post date:** [October 21, 2025, 11:01am UTC](https://forums.unrealengine.com/t/please-make-sure-that-sdk-headers-match-actual-values-as-well-as-documentation/2858393/2 "2025-10-21T11:01:39Z")

</div>

Hello, I’m sorry for any frustration this may have caused you. The return type in the header files is the source of truth.

The return values documented for our asynchronous functions describe the possible values of the ResultCode (EOS\_EResult) in the completion delegate.

[https://dev.epicgames.com/docs/en-US/api-ref/structs/eos-achievements-on-unlock-achievements-complete-callback-info](https://dev.epicgames.com/docs/en-US/api-ref/structs/eos-achievements-on-unlock-achievements-complete-callback-info)

I can see how this might cause confusion, as the docs simply state “Return Value”, and the doc comment in the headers doesn’t clearly describe this either.

I will sync with the documentation team to see if there’s a way to move this info to the “Callback Function Information” section of the API reference.
