Fix calling convention for "typedef DirectDrawCreate" to avoid "Run-Time Check Failure #0" issue

This commit is contained in:
bossiel 2015-05-31 06:28:50 +00:00
parent 068faeb03e
commit 59ac08a7f5
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ bail:
static HRESULT _tdav_producer_screencast_create_module(LPDDrawModule lpModule)
{
typedef HRESULT(*pDirectDrawCreateFunc)(_In_ GUID FAR *lpGUID,
typedef HRESULT (WINAPI *pDirectDrawCreateFunc)(_In_ GUID FAR *lpGUID,
_Out_ LPDIRECTDRAW FAR *lplpDD,
_In_ IUnknown FAR *pUnkOuter);
HRESULT hr = S_OK;