Skip to content

Commit 7e4d221

Browse files
JohannesKauffmannrobUx4
authored andcommitted
Don't change the calling convention of x86 gfx api
Upstream MediaSDK, since ae85eb2, uses __cdecl, which corresponds to WINAPIV in mingw64 and MSDK. The removal of APIENTRY (since f45c0c2) changes the calling convention from __stdcall. The removal of the '@' name decorations (also gone since f45c0c2) remains. Co-authored-by: Steve Lhomme <robux4@ycbcr.xyz>
1 parent f45c0c2 commit 7e4d221

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/intel_api_factory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ extern "C"
2525
{
2626
#endif /* __cplusplus */
2727

28-
HRESULT InitialiseMediaSession(_Out_ HANDLE* handle, _In_ LPVOID lpParam, _Reserved_ LPVOID lpReserved);
29-
HRESULT DisposeMediaSession(_In_ const HANDLE handle);
28+
HRESULT WINAPIV InitialiseMediaSession(_Out_ HANDLE* handle, _In_ LPVOID lpParam, _Reserved_ LPVOID lpReserved);
29+
HRESULT WINAPIV DisposeMediaSession(_In_ const HANDLE handle);
3030

3131
#ifdef __cplusplus
3232
}

0 commit comments

Comments
 (0)