Draft
Conversation
1fdc013 to
65c4dc0
Compare
|
Is this related to be able to login into Microsoft account? like in Minecraft Bedrock? |
Author
Yes that is the purpose, although it is not yet complete |
|
Thank you for working on this! Can't wait to see a working product |
Somehow while pulling this into the default branch locally, for debugging purposes, I had a duplicated type definition error and applied this patchdiff --git a/include/xuser.idl b/include/xuser.idl
index 2f7292b..877c59c 100644
--- a/include/xuser.idl
+++ b/include/xuser.idl
@@ -37,7 +37,6 @@ typedef enum XUserState XUserState;
typedef enum XUserPlatformOperationResult XUserPlatformOperationResult;
typedef enum XUserPlatformSpopOperationResult XUserPlatformSpopOperationResult;
-typedef struct APP_LOCAL_DEVICE_ID APP_LOCAL_DEVICE_ID;
typedef struct XUserDeviceAssociationChange XUserDeviceAssociationChange;
typedef struct XUserGetTokenAndSignatureData XUserGetTokenAndSignatureData;
typedef struct XUserGetTokenAndSignatureHttpHeader XUserGetTokenAndSignatureHttpHeader;
@@ -53,6 +52,20 @@ typedef void (__stdcall *XUserPlatformRemoteConnectShowPromptEventHandler)( PVOI
typedef void (__stdcall *XUserPlatformRemoteConnectClosePromptEventHandler)( PVOID context, UINT32 userIdentifier, XUserPlatformOperation operation );
typedef void (__stdcall *XUserPlatformSpopPromptEventHandler)( PVOID context, UINT32 userIdentifier, XUserPlatformOperation operation, LPCSTR modernGamertag, LPCSTR modernGamertagSuffix );
+cpp_quote("#if 0")
+typedef unsigned __int64 uint64_t;
+typedef __int64 int64_t;
+typedef unsigned __int3264 size_t;
+typedef unsigned int uint32_t;
+typedef int int32_t;
+typedef unsigned short uint16_t;
+typedef unsigned char uint8_t;
+typedef boolean bool;
+typedef struct APP_LOCAL_DEVICE_ID
+{
+ BYTE value[32];
+} APP_LOCAL_DEVICE_ID;
+cpp_quote("#endif")
enum XUserAddOptions
{
@@ -170,11 +183,6 @@ enum XUserPlatformSpopOperationResult
XUserPlatformSpopOperationResult_Canceled = 3
};
-struct APP_LOCAL_DEVICE_ID
-{
- BYTE value[32];
-};
-
struct XUserLocalId {
UINT64 value;
};
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds:
Minimal XLauncher implementation(moved to XLauncher Implementation #37)windows.web.dll[HKLM\Software\Wine\WineGDK]"RefreshToken"The
XUserGetTokenAndSignaturemethods seem to be the main roadblock to full online services, token requesting can be adapted from what is here already, but signature generation requires the appropriate keys to be provisioned tocrypt32during package installation, which will likely require more work with XStoreCurrently the oauth
client_id/MSAAppIdhas to be manually set asMicrosoftGame.configparsing is not here yet.