Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/winlayer.c:1128:49: error: reference to type 'const GUID' (aka 'const _GUID') could not bind to an rvalue of type 'GUID *' (aka '_GUID *')
- result = IDirectInput7_CreateDeviceEx(lpDI, &guidDevs, &IID_IDirectInputDevice7, (void *)&dev, NULL);
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- c:/MinGW/sdks/dx80_mgw/include\dinput.h:2568:69: note: expanded from macro 'IDirectInput7_CreateDeviceEx'
- #define IDirectInput7_CreateDeviceEx(p,a,b,c,d) (p)->CreateDeviceEx(a,b,c,d)
- ^
- c:/MinGW/sdks/dx80_mgw/include\dinput.h:2531:44: note: passing argument to parameter here
- STDMETHOD(CreateDeviceEx)(THIS_ REFGUID,REFIID,LPVOID *,LPUNKNOWN) PURE;
- ^
- src/winlayer.c:1132:54: error: reference to type 'const IID' (aka 'const _GUID') could not bind to an rvalue of type 'const GUID *' (aka 'const _GUID *')
- result = IDirectInputDevice7_QueryInterface(dev, &IID_IDirectInputDevice7, (LPVOID *)&dev2);
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- c:/MinGW/sdks/dx80_mgw/include\dinput.h:1742:71: note: expanded from macro 'IDirectInputDevice7_QueryInterface'
- #define IDirectInputDevice7_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
- ^
- c:/MinGW/sdks/dx80_mgw/include\dinput.h:1663:44: note: passing argument to parameter 'riid' here
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID * ppvObj) PURE;
- ^
- src/winlayer.c:2266:62: error: reference to type 'const IID' (aka 'const _GUID') could not bind to an rvalue of type 'const GUID *' (aka 'const _GUID *')
- hr = IDirectDrawSurface_QueryInterface(lpDDSPrimary, &IID_IDirectDrawGammaControl, (LPVOID)&gam);
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- c:/MinGW/sdks/dx80_mgw/include\ddraw.h:1518:77: note: expanded from macro 'IDirectDrawSurface_QueryInterface'
- #define IDirectDrawSurface_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
- ^
- c:/MinGW/sdks/dx80_mgw/include\ddraw.h:1441:45: note: passing argument to parameter 'riid' here
- STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR * ppvObj) PURE;
- ^
- src/winlayer.c:2338:62: error: reference to type 'const IID' (aka 'const _GUID') could not bind to an rvalue of type 'const GUID *' (aka 'const _GUID *')
- hr = IDirectDrawSurface_QueryInterface(lpDDSPrimary, &IID_IDirectDrawGammaControl, (LPVOID)&gam);
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- c:/MinGW/sdks/dx80_mgw/include\ddraw.h:1518:77: note: expanded from macro 'IDirectDrawSurface_QueryInterface'
- #define IDirectDrawSurface_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
- ^
- c:/MinGW/sdks/dx80_mgw/include\ddraw.h:1441:45: note: passing argument to parameter 'riid' here
- STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR * ppvObj) PURE;
- ^
Advertisement
Add Comment
Please, Sign In to add comment