Fix calling convention for "typedef DirectDrawCreate" to avoid "Run-Time Check Failure #0" issue
This commit is contained in:
parent
068faeb03e
commit
59ac08a7f5
|
@ -503,7 +503,7 @@ bail:
|
||||||
|
|
||||||
static HRESULT _tdav_producer_screencast_create_module(LPDDrawModule lpModule)
|
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,
|
_Out_ LPDIRECTDRAW FAR *lplpDD,
|
||||||
_In_ IUnknown FAR *pUnkOuter);
|
_In_ IUnknown FAR *pUnkOuter);
|
||||||
HRESULT hr = S_OK;
|
HRESULT hr = S_OK;
|
||||||
|
|
Loading…
Reference in New Issue