dlls: Print HRESULT as 32bit value.
This commit is contained in:
parent
cbf55d8251
commit
acea0eea5d
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "wine/test.h"
|
||||
|
||||
#define ok_ole_success(hr, func) ok(hr == S_OK, #func " failed with error 0x%08lx\n", (unsigned long int)hr)
|
||||
#define ok_ole_success(hr, func) ok(hr == S_OK, #func " failed with error 0x%08x\n", hr)
|
||||
|
||||
#define RELEASEMARSHALDATA WM_USER
|
||||
|
||||
|
|
|
@ -1200,7 +1200,7 @@ LPCSTR DPLAYX_HresultToString(HRESULT hr)
|
|||
/* For errors not in the list, return HRESULT as a string
|
||||
This part is not thread safe */
|
||||
WARN( "Unknown error 0x%08x\n", hr );
|
||||
wsprintfA( szTempStr, "0x%08lx", hr );
|
||||
wsprintfA( szTempStr, "0x%08x", hr );
|
||||
return szTempStr;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
static HRESULT (WINAPI *pVarAdd)(LPVARIANT,LPVARIANT,LPVARIANT);
|
||||
|
||||
|
||||
#define ok_ole_success(hr, func) ok(hr == S_OK, #func " failed with error 0x%08lx\n", (unsigned long int)hr)
|
||||
#define ok_ole_success(hr, func) ok(hr == S_OK, #func " failed with error 0x%08x\n", hr)
|
||||
|
||||
/* ULL suffix is not portable */
|
||||
#define ULL_CONST(dw1, dw2) ((((ULONGLONG)dw1) << 32) | (ULONGLONG)dw2)
|
||||
|
|
Loading…
Reference in New Issue