mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Make compile with msvc, clang and gcc on Windows
This commit is contained in:
parent
ed75bab7b2
commit
0c94606fcf
60 changed files with 519 additions and 4584 deletions
|
@ -150,7 +150,7 @@ namespace gui::utils
|
|||
return return_value;
|
||||
};
|
||||
|
||||
res = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID*)&pShellLink);
|
||||
res = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pShellLink));
|
||||
if (FAILED(res))
|
||||
return cleanup(false, "CoCreateInstance failed");
|
||||
|
||||
|
@ -196,7 +196,7 @@ namespace gui::utils
|
|||
}
|
||||
|
||||
// Use the IPersistFile object to save the shell link
|
||||
res = pShellLink->QueryInterface(IID_IPersistFile, (LPVOID*)&pPersistFile);
|
||||
res = pShellLink->QueryInterface(IID_PPV_ARGS(&pPersistFile));
|
||||
if (FAILED(res))
|
||||
return cleanup(false, fmt::format("QueryInterface failed (%s)", str_error(res)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue