2 * HTTPAPI implementation
4 * Copyright 2009 Austin English
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.
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.
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
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(httpapi);
32 BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv )
36 case DLL_WINE_PREATTACH:
37 return FALSE; /* prefer native version */
38 case DLL_PROCESS_ATTACH:
39 DisableThreadLibraryCalls( hinst );
41 case DLL_PROCESS_DETACH:
47 /***********************************************************************
48 * HttpInitialize (HTTPAPI.@)
50 * Initializes HTTP Server API engine
53 * version [ I] HTTP API version which caller will use
54 * flags [ I] initialization options which specify parts of API what will be used
55 * reserved [IO] reserved, must be NULL
58 * NO_ERROR if function succeeds, or error code if function fails
61 ULONG WINAPI HttpInitialize( HTTPAPI_VERSION version, ULONG flags, PVOID reserved )
63 FIXME( "({%d,%d}, 0x%x, %p): stub!\n", version.HttpApiMajorVersion,
64 version.HttpApiMinorVersion, flags, reserved );
68 /***********************************************************************
69 * HttpTerminate (HTTPAPI.@)
71 * Cleans up HTTP Server API engine resources allocated by HttpInitialize
74 * flags [ I] options which specify parts of API what should be released
75 * reserved [IO] reserved, must be NULL
78 * NO_ERROR if function succeeds, or error code if function fails
81 ULONG WINAPI HttpTerminate( ULONG flags, PVOID reserved )
83 FIXME( "(0x%x, %p): stub!\n", flags, reserved );