lsteamclient: Convert URL in ISteamFriends::ActivateGameOverlayToWebPage().

CW-Bug-Id: #24247
This commit is contained in:
Paul Gofman 2024-09-11 14:53:33 -06:00
parent ef6f55844d
commit c506aff695
13 changed files with 39 additions and 12 deletions

View File

@ -177,7 +177,9 @@ NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -185,7 +185,9 @@ NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -177,7 +177,9 @@ NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -177,7 +177,9 @@ NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -177,7 +177,9 @@ NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -193,7 +193,9 @@ NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -193,7 +193,9 @@ NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -193,7 +193,9 @@ NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -193,7 +193,9 @@ NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -201,7 +201,9 @@ NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -249,7 +249,9 @@ NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -249,7 +249,9 @@ NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL, params->eMode );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL, params->eMode );
steamclient_free_path( u_pchURL );
return 0;
}

View File

@ -382,6 +382,9 @@ PATH_CONV_METHODS_WTOU = {
"ISteamInput_SetInputActionManifestFilePath": {
"pchInputActionManifestAbsolutePath": {"array": False, "url": False},
},
"ISteamFriends_ActivateGameOverlayToWebPage": {
"pchURL": {"array": False, "url": True},
},
}
PATH_CONV_STRUCTS = {