Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
39f732c8
Commit
39f732c8
authored
Feb 23, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wsdapi: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
24bb3b69
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
20 deletions
+19
-20
Makefile.in
dlls/wsdapi/Makefile.in
+0
-1
address.c
dlls/wsdapi/address.c
+4
-4
discovery.c
dlls/wsdapi/discovery.c
+3
-3
memory.c
dlls/wsdapi/memory.c
+1
-1
msgparams.c
dlls/wsdapi/msgparams.c
+2
-2
network.c
dlls/wsdapi/network.c
+6
-6
xml.c
dlls/wsdapi/xml.c
+3
-3
No files found.
dlls/wsdapi/Makefile.in
View file @
39f732c8
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wsdapi.dll
IMPORTLIB
=
wsdapi
IMPORTS
=
bcrypt iphlpapi rpcrt4 user32 webservices ws2_32
...
...
dlls/wsdapi/address.c
View file @
39f732c8
...
...
@@ -78,7 +78,7 @@ static ULONG WINAPI IWSDUdpAddressImpl_AddRef(IWSDUdpAddress *iface)
IWSDUdpAddressImpl
*
This
=
impl_from_IWSDUdpAddress
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -87,7 +87,7 @@ static ULONG WINAPI IWSDUdpAddressImpl_Release(IWSDUdpAddress *iface)
IWSDUdpAddressImpl
*
This
=
impl_from_IWSDUdpAddress
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
...
...
@@ -99,7 +99,7 @@ static ULONG WINAPI IWSDUdpAddressImpl_Release(IWSDUdpAddress *iface)
static
HRESULT
WINAPI
IWSDUdpAddressImpl_Serialize
(
IWSDUdpAddress
*
This
,
LPWSTR
pszBuffer
,
DWORD
cchLength
,
BOOL
fSafe
)
{
FIXME
(
"(%p, %p, %d, %d)
\n
"
,
This
,
pszBuffer
,
cchLength
,
fSafe
);
FIXME
(
"(%p, %p, %
l
d, %d)
\n
"
,
This
,
pszBuffer
,
cchLength
,
fSafe
);
return
E_NOTIMPL
;
}
...
...
@@ -294,7 +294,7 @@ static HRESULT WINAPI IWSDUdpAddressImpl_GetMessageType(IWSDUdpAddress *This, WS
static
HRESULT
WINAPI
IWSDUdpAddressImpl_SetTTL
(
IWSDUdpAddress
*
This
,
DWORD
dwTTL
)
{
FIXME
(
"(%p, %d)
\n
"
,
This
,
dwTTL
);
FIXME
(
"(%p, %
l
d)
\n
"
,
This
,
dwTTL
);
return
E_NOTIMPL
;
}
...
...
dlls/wsdapi/discovery.c
View file @
39f732c8
...
...
@@ -69,7 +69,7 @@ static ULONG WINAPI IWSDiscoveryPublisherImpl_AddRef(IWSDiscoveryPublisher *ifac
IWSDiscoveryPublisherImpl
*
This
=
impl_from_IWSDiscoveryPublisher
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -80,7 +80,7 @@ static ULONG WINAPI IWSDiscoveryPublisherImpl_Release(IWSDiscoveryPublisher *ifa
struct
notificationSink
*
sink
,
*
cursor
;
struct
message_id
*
msg_id
,
*
msg_id_cursor
;
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
...
...
@@ -118,7 +118,7 @@ static HRESULT WINAPI IWSDiscoveryPublisherImpl_SetAddressFamily(IWSDiscoveryPub
{
IWSDiscoveryPublisherImpl
*
impl
=
impl_from_IWSDiscoveryPublisher
(
This
);
TRACE
(
"(%p, %d)
\n
"
,
This
,
dwAddressFamily
);
TRACE
(
"(%p, %
l
d)
\n
"
,
This
,
dwAddressFamily
);
/* Has the address family already been set? */
if
(
impl
->
addressFamily
!=
0
)
...
...
dlls/wsdapi/memory.c
View file @
39f732c8
...
...
@@ -82,7 +82,7 @@ void * WINAPI WSDAllocateLinkedMemory(void *pParent, SIZE_T cbSize)
struct
memory_allocation
*
allocation
,
*
parent
;
void
*
ptr
;
TRACE
(
"(%p, %
l
u)
\n
"
,
pParent
,
cbSize
);
TRACE
(
"(%p, %
I
u)
\n
"
,
pParent
,
cbSize
);
ptr
=
HeapAlloc
(
GetProcessHeap
(),
0
,
MEMORY_ALLOCATION_SIZE
+
cbSize
);
...
...
dlls/wsdapi/msgparams.c
View file @
39f732c8
...
...
@@ -58,7 +58,7 @@ static ULONG IWSDMessageParametersImpl_AddRef(IWSDMessageParameters *iface)
IWSDMessageParametersImpl
*
This
=
impl_from_IWSDMessageParameters
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -67,7 +67,7 @@ static ULONG IWSDMessageParametersImpl_Release(IWSDMessageParameters *iface)
IWSDMessageParametersImpl
*
This
=
impl_from_IWSDMessageParameters
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
...
...
dlls/wsdapi/network.c
View file @
39f732c8
...
...
@@ -116,7 +116,7 @@ static BOOL send_udp_multicast_of_type(char *data, int length, int max_initial_d
if
(
retval
!=
ERROR_BUFFER_OVERFLOW
)
{
WARN
(
"GetAdaptorsAddresses failed with error %08x
\n
"
,
retval
);
WARN
(
"GetAdaptorsAddresses failed with error %08
l
x
\n
"
,
retval
);
goto
cleanup
;
}
...
...
@@ -133,7 +133,7 @@ static BOOL send_udp_multicast_of_type(char *data, int length, int max_initial_d
if
(
retval
!=
ERROR_SUCCESS
)
{
WARN
(
"GetAdaptorsAddresses failed with error %08x
\n
"
,
retval
);
WARN
(
"GetAdaptorsAddresses failed with error %08
l
x
\n
"
,
retval
);
goto
cleanup
;
}
...
...
@@ -200,7 +200,7 @@ static BOOL send_udp_multicast_of_type(char *data, int length, int max_initial_d
if
(
thread_handle
==
NULL
)
{
WARN
(
"CreateThread failed (error %d)
\n
"
,
GetLastError
());
WARN
(
"CreateThread failed (error %
l
d)
\n
"
,
GetLastError
());
closesocket
(
s
);
heap_free
(
send_params
->
data
);
...
...
@@ -487,7 +487,7 @@ static int start_listening(IWSDiscoveryPublisherImpl *impl, SOCKADDR_STORAGE *bi
if
(
thread_handle
==
NULL
)
{
WARN
(
"CreateThread failed (error %d)
\n
"
,
GetLastError
());
WARN
(
"CreateThread failed (error %
l
d)
\n
"
,
GetLastError
());
goto
cleanup
;
}
...
...
@@ -514,7 +514,7 @@ static BOOL start_listening_on_all_addresses(IWSDiscoveryPublisherImpl *impl, UL
if
(
ret
!=
ERROR_BUFFER_OVERFLOW
)
{
WARN
(
"GetAdaptorsAddresses failed with error %08x
\n
"
,
ret
);
WARN
(
"GetAdaptorsAddresses failed with error %08
l
x
\n
"
,
ret
);
return
FALSE
;
}
...
...
@@ -532,7 +532,7 @@ static BOOL start_listening_on_all_addresses(IWSDiscoveryPublisherImpl *impl, UL
if
(
ret
!=
ERROR_SUCCESS
)
{
WARN
(
"GetAdaptorsAddresses failed with error %08x
\n
"
,
ret
);
WARN
(
"GetAdaptorsAddresses failed with error %08
l
x
\n
"
,
ret
);
goto
cleanup
;
}
...
...
dlls/wsdapi/xml.c
View file @
39f732c8
...
...
@@ -466,7 +466,7 @@ static ULONG WINAPI IWSDXMLContextImpl_AddRef(IWSDXMLContext *iface)
IWSDXMLContextImpl
*
This
=
impl_from_IWSDXMLContext
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -475,7 +475,7 @@ static ULONG WINAPI IWSDXMLContextImpl_Release(IWSDXMLContext *iface)
IWSDXMLContextImpl
*
This
=
impl_from_IWSDXMLContext
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
...
...
@@ -617,7 +617,7 @@ static HRESULT WINAPI IWSDXMLContextImpl_SetNamespaces(IWSDXMLContext *iface, co
static
HRESULT
WINAPI
IWSDXMLContextImpl_SetTypes
(
IWSDXMLContext
*
iface
,
const
PCWSDXML_TYPE
*
pTypes
,
DWORD
dwTypesCount
,
BYTE
bLayerNumber
)
{
FIXME
(
"(%p, %p, %d, %d)
\n
"
,
iface
,
pTypes
,
dwTypesCount
,
bLayerNumber
);
FIXME
(
"(%p, %p, %
l
d, %d)
\n
"
,
iface
,
pTypes
,
dwTypesCount
,
bLayerNumber
);
return
E_NOTIMPL
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment