[ROSTESTS] Fix 64bit issues (#1261)

This commit is contained in:
Timo Kreuzer
2019-01-20 15:58:32 +01:00
committed by GitHub
parent efe4605177
commit bb9a5f6046
23 changed files with 101 additions and 81 deletions

View File

@@ -11,6 +11,8 @@
#include <debug.h>
#include <shellutils.h>
#define INVALID_POINTER ((PVOID)(ULONG_PTR)0xdeadbeefdeadbeefULL)
static
VOID
TestShellFolder(
@@ -55,7 +57,7 @@ VOID TestInitialize(_In_ IShellFolder2 *psf2)
hr = ppf2->Initialize(NULL);
ok(hr == S_OK, "hr = %lx\n", hr);
hr = ppf2->Initialize((LPCITEMIDLIST)0xdeaddead);
hr = ppf2->Initialize((LPCITEMIDLIST)INVALID_POINTER);
ok(hr == S_OK, "hr = %lx\n", hr);
//crashes in xp