include: Change to ULONG in dmerror.h for Win64 compatibility.
This commit is contained in:
parent
7488d8863f
commit
3d5de18889
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#ifndef MAKE_HRESULT
|
#ifndef MAKE_HRESULT
|
||||||
#define MAKE_HRESULT(sev,fac,code) \
|
#define MAKE_HRESULT(sev,fac,code) \
|
||||||
((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
|
((HRESULT) (((ULONG)(sev)<<31) | ((ULONG)(fac)<<16) | ((ULONG)(code))) )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAKE_DMHRESULTSUCCESS(code) MAKE_HRESULT(0, FACILITY_DIRECTMUSIC, (DMUS_ERRBASE + (code)))
|
#define MAKE_DMHRESULTSUCCESS(code) MAKE_HRESULT(0, FACILITY_DIRECTMUSIC, (DMUS_ERRBASE + (code)))
|
||||||
|
|
Loading…
Reference in New Issue