lsteamclient: Get memory for SteamClient interface within native steamclient.dll loader range.

CW-Bug-ID: #19605

For Mafia II.
This commit is contained in:
Paul Gofman 2021-11-03 18:00:12 +03:00 committed by Arkadiusz Hiler
parent b3c6c677bc
commit 7a90ff74ce
39 changed files with 331 additions and 187 deletions

View file

@ -291,7 +291,7 @@ void __asm_dummy_vtables(void) {
winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(void *linux_side)
{
winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001));
winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001), "STEAMMUSICREMOTE_INTERFACE_VERSION001");
TRACE("-> %p\n", r);
r->vtable = &winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_vtable;
r->linux_side = linux_side;