mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 14:45:48 +03:00
lsteamclient: Convert URL in ISteamFriends::ActivateGameOverlayToWebPage().
CW-Bug-Id: #24247
This commit is contained in:
parent
ef6f55844d
commit
c506aff695
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user