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
3853794b
Commit
3853794b
authored
Jul 18, 2005
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stubs for GetAddressByName{A,W}.
parent
b5c65a2e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
2 deletions
+39
-2
service.c
dlls/wsock32/service.c
+28
-0
wsock32.spec
dlls/wsock32/wsock32.spec
+2
-2
nspapi.h
include/nspapi.h
+9
-0
No files found.
dlls/wsock32/service.c
View file @
3853794b
...
@@ -33,6 +33,34 @@
...
@@ -33,6 +33,34 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
winsock
);
WINE_DEFAULT_DEBUG_CHANNEL
(
winsock
);
INT
WINAPI
GetAddressByNameA
(
DWORD
dwNameSpace
,
LPGUID
lpServiceType
,
LPSTR
lpServiceName
,
LPINT
lpiProtocols
,
DWORD
dwResolution
,
LPSERVICE_ASYNC_INFO
lpServiceAsyncInfo
,
LPVOID
lpCsaddrBuffer
,
LPDWORD
lpdwBufferLength
,
LPSTR
lpAliasBuffer
,
LPDWORD
lpdwAliasBufferLength
)
{
FIXME
(
"(0x%08lx, %s, %s, %p, 0x%08lx, %p, %p, %p, %p, %p) stub
\n
"
,
dwNameSpace
,
debugstr_guid
(
lpServiceType
),
debugstr_a
(
lpServiceName
),
lpiProtocols
,
dwResolution
,
lpServiceAsyncInfo
,
lpCsaddrBuffer
,
lpdwBufferLength
,
lpAliasBuffer
,
lpdwAliasBufferLength
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
SOCKET_ERROR
;
}
INT
WINAPI
GetAddressByNameW
(
DWORD
dwNameSpace
,
LPGUID
lpServiceType
,
LPWSTR
lpServiceName
,
LPINT
lpiProtocols
,
DWORD
dwResolution
,
LPSERVICE_ASYNC_INFO
lpServiceAsyncInfo
,
LPVOID
lpCsaddrBuffer
,
LPDWORD
lpdwBufferLength
,
LPWSTR
lpAliasBuffer
,
LPDWORD
lpdwAliasBufferLength
)
{
FIXME
(
"(0x%08lx, %s, %s, %p, 0x%08lx, %p, %p, %p, %p, %p) stub
\n
"
,
dwNameSpace
,
debugstr_guid
(
lpServiceType
),
debugstr_w
(
lpServiceName
),
lpiProtocols
,
dwResolution
,
lpServiceAsyncInfo
,
lpCsaddrBuffer
,
lpdwBufferLength
,
lpAliasBuffer
,
lpdwAliasBufferLength
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
SOCKET_ERROR
;
}
/******************************************************************************
/******************************************************************************
* GetTypeByNameA [WSOCK32.1113]
* GetTypeByNameA [WSOCK32.1113]
*
*
...
...
dlls/wsock32/wsock32.spec
View file @
3853794b
...
@@ -60,8 +60,8 @@
...
@@ -60,8 +60,8 @@
#1106 stub dn_expand
#1106 stub dn_expand
1107 stdcall WSARecvEx(long ptr long ptr)
1107 stdcall WSARecvEx(long ptr long ptr)
1108 stdcall s_perror(str)
1108 stdcall s_perror(str)
1109 st
ub GetAddressByNameA
1109 st
dcall GetAddressByNameA(long ptr str ptr long ptr ptr ptr ptr ptr)
1110 st
ub GetAddressByNameW
1110 st
dcall GetAddressByNameW(long ptr wstr ptr long ptr ptr ptr ptr ptr)
1111 stdcall EnumProtocolsA(ptr ptr ptr) ws2_32.WSAEnumProtocolsA
1111 stdcall EnumProtocolsA(ptr ptr ptr) ws2_32.WSAEnumProtocolsA
1112 stdcall EnumProtocolsW(ptr ptr ptr) ws2_32.WSAEnumProtocolsW
1112 stdcall EnumProtocolsW(ptr ptr ptr) ws2_32.WSAEnumProtocolsW
1113 stdcall GetTypeByNameA(str ptr)
1113 stdcall GetTypeByNameA(str ptr)
...
...
include/nspapi.h
View file @
3853794b
...
@@ -173,6 +173,15 @@ typedef struct _SERVICE_ASYNC_INFO
...
@@ -173,6 +173,15 @@ typedef struct _SERVICE_ASYNC_INFO
/*
/*
* function prototypes
* function prototypes
*/
*/
INT
WINAPI
GetAddressByNameA
(
DWORD
dwNameSpace
,
LPGUID
lpServiceType
,
LPSTR
lpServiceName
,
LPINT
lpiProtocols
,
DWORD
dwResolution
,
LPSERVICE_ASYNC_INFO
lpServiceAsyncInfo
,
LPVOID
lpCsaddrBuffer
,
LPDWORD
lpdwBufferLength
,
LPSTR
lpAliasBuffer
,
LPDWORD
lpdwAliasBufferLength
);
INT
WINAPI
GetAddressByNameW
(
DWORD
dwNameSpace
,
LPGUID
lpServiceType
,
LPWSTR
lpServiceName
,
LPINT
lpiProtocols
,
DWORD
dwResolution
,
LPSERVICE_ASYNC_INFO
lpServiceAsyncInfo
,
LPVOID
lpCsaddrBuffer
,
LPDWORD
lpdwBufferLength
,
LPWSTR
lpAliasBuffer
,
LPDWORD
lpdwAliasBufferLength
);
#define GetAddressByName WINELIB_NAME_AW(GetAddressByName)
INT
WINAPI
GetTypeByNameA
(
LPSTR
lpServiceName
,
LPGUID
lpServiceType
);
INT
WINAPI
GetTypeByNameA
(
LPSTR
lpServiceName
,
LPGUID
lpServiceType
);
INT
WINAPI
GetTypeByNameW
(
LPWSTR
lpServiceName
,
LPGUID
lpServiceType
);
INT
WINAPI
GetTypeByNameW
(
LPWSTR
lpServiceName
,
LPGUID
lpServiceType
);
#define GetTypeByName WINELIB_NAME_AW(GetTypeByName)
#define GetTypeByName WINELIB_NAME_AW(GetTypeByName)
...
...
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