Skip to content

Commit ac85ac1

Browse files
authored
2203 GDK (#584)
1 parent 312e05d commit ac85ac1

File tree

81 files changed

+2408
-461
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2408
-461
lines changed

Build/Microsoft.Xbox.Services.141.GDK.C.Thunks/Microsoft.Xbox.Services.141.GDK.C.Thunks.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
<TargetName>Microsoft.Xbox.Services.141.GDK.C.Thunks</TargetName>
3434
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
3535
<XsapiPlatform>GDK</XsapiPlatform>
36-
<XsapiBuildFromSource>1</XsapiBuildFromSource>
36+
<XsapiLibBuildFromSource>true</XsapiLibBuildFromSource>
37+
<LibHttpClientBuildFromSource>true</LibHttpClientBuildFromSource>
3738
</PropertyGroup>
3839
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.gdk.bwoi.props))\xsapi.gdk.bwoi.props" />
3940
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

Build/Microsoft.Xbox.Services.Win32.C.Dll.def

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ EXPORTS
2020
HCHttpCallRequestGetHeaderAtIndex
2121
HCHttpCallRequestGetNumHeaders
2222
HCHttpCallRequestGetRequestBodyBytes
23+
HCHttpCallRequestGetRequestBodyReadFunction
2324
HCHttpCallRequestGetRequestBodyString
2425
HCHttpCallRequestGetRetryAllowed
2526
HCHttpCallRequestGetRetryCacheId
@@ -29,6 +30,7 @@ EXPORTS
2930
HCHttpCallRequestGetUrl
3031
HCHttpCallRequestSetHeader
3132
HCHttpCallRequestSetRequestBodyBytes
33+
HCHttpCallRequestSetRequestBodyReadFunction
3234
HCHttpCallRequestSetRequestBodyString
3335
HCHttpCallRequestSetRetryAllowed
3436
HCHttpCallRequestSetRetryCacheId
@@ -45,13 +47,15 @@ EXPORTS
4547
HCHttpCallResponseGetPlatformNetworkErrorMessage
4648
HCHttpCallResponseGetResponseBodyBytes
4749
HCHttpCallResponseGetResponseBodyBytesSize
50+
HCHttpCallResponseGetResponseBodyWriteFunction
4851
HCHttpCallResponseGetResponseString
4952
HCHttpCallResponseGetStatusCode
5053
HCHttpCallResponseSetHeader
5154
HCHttpCallResponseSetHeaderWithLength
5255
HCHttpCallResponseSetNetworkErrorCode
5356
HCHttpCallResponseSetPlatformNetworkErrorMessage
5457
HCHttpCallResponseSetResponseBodyBytes
58+
HCHttpCallResponseSetResponseBodyWriteFunction
5559
HCHttpCallResponseSetStatusCode
5660
HCHttpCallSetContext
5761
HCHttpCallSetTracing
@@ -497,6 +501,7 @@ EXPORTS
497501
XblRealTimeActivityRemoveResyncHandler
498502
XblRemoveServiceCallRoutedHandler
499503
XblSetOverrideConfiguration
504+
XblSetOverrideLocale
500505
XblSocialAddSocialRelationshipChangedHandler
501506
XblSocialGetSocialRelationshipsAsync
502507
XblSocialGetSocialRelationshipsResult

Build/xsapi.gdk.bwoi.props

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,41 @@
6969
<VCTargetsPath16>$(_AlternativeVCTargetsPath160)</VCTargetsPath16>
7070
</PropertyGroup>
7171

72+
<!--
73+
****************************************************************************************************
74+
VCTargetsPath redirection (VS 2022)
75+
For VS 2022, we have to copy the contents of
76+
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v160
77+
to a temp location, then xcopy in the files from
78+
C:\Program Files (x86)\Microsoft GDK\211000\GXDK\VS2019\flatDeployment\MSBuild\Microsoft\VC\v160
79+
and
80+
C:\Program Files (x86)\Microsoft GDK\211000\GRDK\VS2019\flatDeployment\MSBuild\Microsoft\VC\v160
81+
and do the same for the v150 for v141 downlevel
82+
****************************************************************************************************
83+
-->
84+
<PropertyGroup Condition="'$(GDKUseBWOI)' == 'true'">
85+
<_AlternativeVCTargetsPath160>$(GDKMSBuildForVS2019)v160\</_AlternativeVCTargetsPath160>
86+
<_AlternativeVCTargetsPath150>$(GDKMSBuildForVS2019)v150\</_AlternativeVCTargetsPath150>
87+
</PropertyGroup>
88+
89+
<PropertyGroup Condition="'$(GDKUseBWOI)' == 'true' and ('$(Platform)' == 'Gaming.Xbox.XboxOne.x64' and '$(VisualStudioVersion)' == '17.0')">
90+
<VCTargetsPath>$(_AlternativeVCTargetsPath160)</VCTargetsPath>
91+
<VCTargetsPath15 Condition="'$(_AlternativeVCTargetsPath150)'!=''">$(_AlternativeVCTargetsPath150)</VCTargetsPath15>
92+
<VCTargetsPath16>$(_AlternativeVCTargetsPath160)</VCTargetsPath16>
93+
</PropertyGroup>
94+
95+
<PropertyGroup Condition="'$(GDKUseBWOI)' == 'true' and ('$(Platform)' == 'Gaming.Xbox.Scarlett.x64' and '$(VisualStudioVersion)' == '17.0')">
96+
<VCTargetsPath>$(_AlternativeVCTargetsPath160)</VCTargetsPath>
97+
<VCTargetsPath15 Condition="'$(_AlternativeVCTargetsPath150)'!=''">$(_AlternativeVCTargetsPath150)</VCTargetsPath15>
98+
<VCTargetsPath16>$(_AlternativeVCTargetsPath160)</VCTargetsPath16>
99+
</PropertyGroup>
100+
101+
<PropertyGroup Condition="'$(GDKUseBWOI)' == 'true' and ('$(Platform)' == 'Gaming.Desktop.x64' and '$(VisualStudioVersion)' == '17.0')">
102+
<VCTargetsPath>$(_AlternativeVCTargetsPath160)</VCTargetsPath>
103+
<VCTargetsPath15 Condition="'$(_AlternativeVCTargetsPath150)'!=''">$(_AlternativeVCTargetsPath150)</VCTargetsPath15>
104+
<VCTargetsPath16>$(_AlternativeVCTargetsPath160)</VCTargetsPath16>
105+
</PropertyGroup>
106+
72107
<!--
73108
****************************************************************************************************
74109
Debugging
Submodule libHttpClient updated 87 files

External/Xal/Source/Xal/Include/Xal/xal_platform_types.h

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,39 @@ typedef enum XalPlatformOperationResult
4242
/// </summary>
4343
typedef enum XalShowUrlType
4444
{
45-
/// <summary>The client should show the URL in a shared system browser if
45+
/// <summary>
46+
/// The client should show the URL in a shared system browser if
4647
/// one is present, otherwise the client should use an embedded browser.
4748
/// </summary>
4849
XalShowUrlType_Normal = 0,
49-
/// <summary>The browser is being raised for the purposes of deleting
50-
/// cookies. If the client is able clear the user's cookies without showing
51-
/// UI the client should. Otherwise the URL should be loaded as normal.
50+
/// <summary>
51+
/// This case is deprecated and no longer used. Cookie removal is now
52+
/// signaled exclusively using
53+
/// XalShowUrlType_CookieRemovalSkipIfSharedCredentials.
5254
/// </summary>
53-
XalShowUrlType_CookieRemoval = 1,
54-
/// <summary>The browser is being raised for the purposes of deleting
55+
/// <remarks>
56+
/// Formerly, this value indicated that the browser was being raised for the
57+
/// purposes of deleting cookies from both shared and embedded browsers.
58+
/// </remarks>
59+
XalShowUrlType_CookieRemoval_DEPRECATED = 1,
60+
/// <summary>
61+
/// The browser is being raised for the purposes of deleting
5562
/// cookies. If the client is using a shared system browser, this call
5663
/// should be ignored and the client should immediately call
5764
/// XalPlatformWebShowUrlComplete passing in success, and forwarding the
5865
/// received final URL back into Xal. If an embedded browser is being used,
59-
/// the URL should be loaded as normal.</summary>
66+
/// the cookies should be cleared without showing UI if possible. If silent
67+
/// cookie-clearing is impossible, the URL should be loaded as normal.
68+
/// </summary>
6069
XalShowUrlType_CookieRemovalSkipIfSharedCredentials = 2,
61-
/// <summary>This is a web flow which does not rely on cookies. The client
70+
/// <summary>
71+
/// This is a web flow which does not rely on cookies. The client
6272
/// may use a shared system browser or an embedded browser depending on
6373
/// whichever browser would give the best user experience. If headers are
6474
/// required for the web request, this will be the show type asked for. If
6575
/// this is the case, an embedded browser might be required so those
66-
/// request headers can be set.</summary>
76+
/// request headers can be set.
77+
/// </summary>
6778
XalShowUrlType_NonAuthFlow = 3,
6879
} XalShowUrlType;
6980

External/Xal/Source/Xal/Include/Xal/xal_types.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -400,25 +400,6 @@ typedef enum XalUserChangeType
400400
// That header is included at the top of this file
401401
#endif
402402

403-
/// <summary>
404-
/// User detail change event handler.
405-
/// </summary>
406-
/// <param name="context">Optional pointer to data used by the event handler.
407-
/// </param>
408-
/// <param name="userId">The local id of the user that changed.</param>
409-
/// <param name="change">The type of change.</param>
410-
/// <returns></returns>
411-
#if !XAL_OS_IMPL
412-
typedef void (XalUserChangeEventHandler)(
413-
_In_opt_ void* context,
414-
_In_ XalUserLocalId userId,
415-
_In_ XalUserChangeType change
416-
);
417-
#else
418-
// XalUserChangeEventHandler is defined in the platform specific header.
419-
// That header is included at the top of this file
420-
#endif
421-
422403
/// <summary>
423404
/// A token returned when registering a callback to identify the registration. This token
424405
/// is later used to unregister the callback.

External/Xal/Source/Xal/Include/Xal/xal_user.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,25 @@ STDAPI XalUserResolveIssueWithUiResult(
321321
//-----------------------------------------------------------------------------
322322
// Events
323323

324+
/// <summary>
325+
/// User detail change event handler.
326+
/// </summary>
327+
/// <param name="context">Optional pointer to data used by the event handler.
328+
/// </param>
329+
/// <param name="userId">The local id of the user that changed.</param>
330+
/// <param name="change">The type of change.</param>
331+
/// <returns></returns>
332+
#if !XAL_OS_IMPL
333+
typedef void (XalUserChangeEventHandler)(
334+
_In_opt_ void* context,
335+
_In_ XalUserLocalId userId,
336+
_In_ XalUserChangeType change
337+
);
338+
#else
339+
// XalUserChangeEventHandler is defined in the platform specific header.
340+
// That header is included in xal_types.h
341+
#endif
342+
324343
/// <summary>
325344
/// Register the event handler for user detail changes.
326345
/// </summary>

External/Xal/Source/Xal/Include/Xal/xal_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ extern "C"
2020
/// YYYYMMDD Date string describing the date the build was created
2121
/// rrr QFE number (000 indicates base release)
2222
/// </summary>
23-
#define XAL_VERSION "2021.10.20220111.002"
23+
#define XAL_VERSION "2021.11.20211021.000"
2424

2525
}

Include/xsapi-c/achievements_c.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@ STDAPI XblAchievementsUpdateAchievementForTitleIdAsync(
751751
/// <param name="async">Caller allocated AsyncBlock.</param>
752752
/// <returns>HRESULT return code for this API operation.</returns>
753753
/// <remarks>
754+
/// If multiple achievements are required, use the batch API instead: <see cref="XblAchievementsGetAchievementsForTitleIdAsync"/>
754755
/// To get the result, call <see cref="XblAchievementsGetAchievementResult"/> inside the AsyncBlock callback
755756
/// or after the AsyncBlock is complete.
756757
/// </remarks>

Include/xsapi-c/notification_c.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ STDAPI XblNotificationSubscribeToNotificationsAsync(
3434
) XBL_NOEXCEPT;
3535
#endif
3636

37+
#if HC_PLATFORM == HC_PLATFORM_IOS || HC_PLATFORM == HC_PLATFORM_ANDROID || HC_PLATFORM == HC_PLATFORM_UWP
3738
/// <summary>
3839
/// Unsubscribes the title from push notifications.
3940
/// </summary>
@@ -44,4 +45,5 @@ STDAPI XblNotificationUnsubscribeFromNotificationsAsync(
4445
_In_ XblContextHandle xboxLiveContext,
4546
_In_ XAsyncBlock* asyncBlock
4647
) XBL_NOEXCEPT;
48+
#endif
4749
}

0 commit comments

Comments
 (0)