Commit ab968455 authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Added WSC*InstallProvider stubs.

parent c4a101c9
......@@ -3270,3 +3270,31 @@ INT WINAPI WSARecvFrom( SOCKET s, LPWSABUF lpBuffers, DWORD dwBufferCount,
return rc;
}
/***********************************************************************
* WSCInstallProvider (WS2_32.88)
*/
INT WINAPI WSCInstallProvider( const LPGUID lpProviderId,
LPCWSTR lpszProviderDllPath,
const LPWSAPROTOCOL_INFOW lpProtocolInfoList,
DWORD dwNumberOfEntries,
LPINT lpErrno )
{
FIXME("(%s, %s, %p, %ld, %p): stub !\n", debugstr_guid(lpProviderId),
debugstr_w(lpszProviderDllPath), lpProtocolInfoList,
dwNumberOfEntries, lpErrno);
*lpErrno = 0;
return 0;
}
/***********************************************************************
* WSCDeinstallProvider (WS2_32.83)
*/
INT WINAPI WSCDeinstallProvider(LPGUID lpProviderId, LPINT lpErrno)
{
FIXME("(%s, %p): stub !\n", debugstr_guid(lpProviderId), lpErrno);
*lpErrno = 0;
return 0;
}
......@@ -95,12 +95,12 @@ debug_channels (winsock)
80 stub WSAStringToAddressA
81 stub WSAStringToAddressW
82 forward WSAWaitForMultipleEvents KERNEL32.WaitForMultipleObjectsEx
83 stub WSCDeinstallProvider
83 stdcall WSCDeinstallProvider(ptr ptr) WSCDeinstallProvider
84 stub WSCEnableNSProvider
85 stub WSCEnumProtocols
86 stub WSCGetProviderPath
87 stub WSCInstallNameSpace
88 stub WSCInstallProvider
88 stdcall WSCInstallProvider(ptr wstr ptr long ptr) WSCInstallProvider
89 stub WSCUnInstallNameSpace
90 stub WSCWriteNameSpaceOrder
91 stub WSCWriteProviderOrder
......
......@@ -186,6 +186,33 @@ typedef struct _WSAPROTOCOL_INFOA
CHAR szProtocol[WSAPROTOCOL_LEN+1];
} WSAPROTOCOL_INFOA, * LPWSAPROTOCOL_INFOA;
typedef struct _WSAPROTOCOL_INFOW
{
DWORD dwServiceFlags1;
DWORD dwServiceFlags2;
DWORD dwServiceFlags3;
DWORD dwServiceFlags4;
DWORD dwProviderFlags;
GUID ProviderId;
DWORD dwCatalogEntryId;
WSAPROTOCOLCHAIN ProtocolChain;
int iVersion;
int iAddressFamily;
int iMaxSockAddr;
int iMinSockAddr;
int iSocketType;
int iProtocol;
int iProtocolMaxOffset;
int iNetworkByteOrder;
int iSecurityScheme;
DWORD dwMessageSize;
DWORD dwProviderReserved;
WCHAR szProtocol[WSAPROTOCOL_LEN+1];
} WSAPROTOCOL_INFOW, * LPWSAPROTOCOL_INFOW;
DECL_WINELIB_TYPE_AW(WSAPROTOCOL_INFO)
DECL_WINELIB_TYPE_AW(LPWSAPROTOCOL_INFO)
typedef struct _WSANETWORKEVENTS
{
long lNetworkEvents;
......
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