Commit 137946d6 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

oledlg/tests: Enable compilation with long types.

parent 786a7e8b
EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = oledlg.dll TESTDLL = oledlg.dll
IMPORTS = oledlg ole32 user32 IMPORTS = oledlg ole32 user32
......
...@@ -51,7 +51,7 @@ static ULONG WINAPI enumverbs_Release(IEnumOLEVERB *iface) ...@@ -51,7 +51,7 @@ static ULONG WINAPI enumverbs_Release(IEnumOLEVERB *iface)
static int g_enumpos; static int g_enumpos;
static HRESULT WINAPI enumverbs_Next(IEnumOLEVERB *iface, ULONG count, OLEVERB *verbs, ULONG *fetched) static HRESULT WINAPI enumverbs_Next(IEnumOLEVERB *iface, ULONG count, OLEVERB *verbs, ULONG *fetched)
{ {
ok(count == 1, "got %u\n", count); ok(count == 1, "got %lu\n", count);
ok(fetched == NULL, "got %p\n", fetched); ok(fetched == NULL, "got %p\n", fetched);
ok(g_enumpos == 0 || g_enumpos == 1, "got pos %d\n", g_enumpos); ok(g_enumpos == 0 || g_enumpos == 1, "got pos %d\n", g_enumpos);
...@@ -209,7 +209,7 @@ static HRESULT WINAPI oleobject_GetUserClassID(IOleObject *iface, CLSID *clsid) ...@@ -209,7 +209,7 @@ static HRESULT WINAPI oleobject_GetUserClassID(IOleObject *iface, CLSID *clsid)
static HRESULT WINAPI oleobject_GetUserType(IOleObject *iface, DWORD formoftype, static HRESULT WINAPI oleobject_GetUserType(IOleObject *iface, DWORD formoftype,
LPOLESTR *usertype) LPOLESTR *usertype)
{ {
ok(formoftype == USERCLASSTYPE_SHORT, "got %d\n", formoftype); ok(formoftype == USERCLASSTYPE_SHORT, "got %ld\n", formoftype);
*usertype = CoTaskMemAlloc(sizeof(L"test")); *usertype = CoTaskMemAlloc(sizeof(L"test"));
lstrcpyW(*usertype, L"test"); lstrcpyW(*usertype, L"test");
return S_OK; return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment