blob: 5df7d2400898c8a17a0b3223ded92f3d66c018c4 [file] [log] [blame]
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00001/*
2 * WS2SPI.H -- definitions to be used with the WinSock service provider.
3 *
4 * Copyright (C) 2001 Patrik Stridvall
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
Jonathan Ernst360a3f92006-05-18 14:49:52 +020018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Alexandre Julliard0799c1a2002-03-09 23:29:33 +000019 */
Patrik Stridvalle668a9d2001-10-09 21:48:22 +000020
21#ifndef _WINSOCK2SPI_
22#define _WINSOCK2SPI_
23
24#ifndef _WINSOCK2API_
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000025#include <winsock2.h>
Patrik Stridvalle668a9d2001-10-09 21:48:22 +000026#endif /* !defined(_WINSOCK2API_) */
27
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000028#include <pshpack4.h>
Patrik Stridvalle668a9d2001-10-09 21:48:22 +000029
30#ifdef __cplusplus
31extern "C" {
32#endif /* defined(__cplusplus) */
33
Patrik Stridvallf94462f2002-01-31 23:22:07 +000034typedef BOOL (WINAPI *LPWPUPOSTMESSAGE)(HWND,UINT,WPARAM,LPARAM);
Patrik Stridvalle668a9d2001-10-09 21:48:22 +000035
Hans Leidekker26138612005-06-25 18:34:32 +000036WSAEVENT WINAPI WPUCompleteOverlappedRequest(SOCKET,LPWSAOVERLAPPED,DWORD,DWORD,LPINT);
37INT WINAPI WSCInstallProvider(const LPGUID,LPCWSTR,const LPWSAPROTOCOL_INFOW,
38 DWORD,LPINT);
39INT WINAPI WSCDeinstallProvider(LPGUID,LPINT);
40INT WINAPI WSCEnableNSProvider(LPGUID,BOOL);
41INT WINAPI WSCEnumProtocols(LPINT,LPWSAPROTOCOL_INFOW,LPDWORD,LPINT);
42INT WINAPI WSCGetProviderPath(LPGUID,LPWSTR,LPINT,LPINT);
43INT WINAPI WSCInstallNameSpace(LPWSTR,LPWSTR,DWORD,DWORD,LPGUID);
44INT WINAPI WSCUnInstallNameSpace(LPGUID);
Matteo Brunic0d4c662012-03-28 13:52:13 +020045INT WINAPI WSCUpdateProvider(LPGUID, const WCHAR *, const LPWSAPROTOCOL_INFOW, DWORD, LPINT);
Hans Leidekker26138612005-06-25 18:34:32 +000046INT WINAPI WSCWriteProviderOrder(LPDWORD,DWORD);
47
Patrik Stridvalle668a9d2001-10-09 21:48:22 +000048#ifdef __cplusplus
49} /* extern "C" */
50#endif /* defined(__cplusplus) */
51
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000052#include <poppack.h>
Patrik Stridvalle668a9d2001-10-09 21:48:22 +000053
54#endif /* !defined(_WINSOCK2SPI_) */