Commit 56212ce2 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

dpnet: Return success in IDirectPlay8PeerImpl_Initialize.

parent 905d6844
......@@ -85,9 +85,9 @@ static ULONG WINAPI IDirectPlay8PeerImpl_Release(IDirectPlay8Peer *iface)
static HRESULT WINAPI IDirectPlay8PeerImpl_Initialize(IDirectPlay8Peer *iface,
void * const pvUserContext, const PFNDPNMESSAGEHANDLER pfn, const DWORD dwFlags)
{
FIXME("(%p)->(%p,%p,%x): stub\n", iface, pvUserContext, pfn, dwFlags);
TRACE("(%p)->(%p,%p,%x): stub\n", iface, pvUserContext, pfn, dwFlags);
return DPNERR_GENERIC;
return DPN_OK;
}
static HRESULT WINAPI IDirectPlay8PeerImpl_EnumServiceProviders(IDirectPlay8Peer *iface,
......
......@@ -52,7 +52,7 @@ static void test_init_dp(void)
ok(hr == S_OK, "CoCreateInstance failed with 0x%x\n", hr);
hr = IDirectPlay8Peer_Initialize(peer, NULL, DirectPlayMessageHandler, 0);
todo_wine ok(hr == S_OK, "IDirectPlay8Peer_Initialize failed with %x\n", hr);
ok(hr == S_OK, "IDirectPlay8Peer_Initialize failed with %x\n", hr);
}
static void test_enum_service_providers(void)
......
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