Mercurial > projects > hoofbaby
comparison deps/Platinum/ThirdParty/Neptune/Source/System/Win32/NptWin32HttpProxy.cpp @ 0:3425707ddbf6
Initial import (hopefully this mercurial stuff works...)
author | fraserofthenight |
---|---|
date | Mon, 06 Jul 2009 08:06:28 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3425707ddbf6 |
---|---|
1 /***************************************************************** | |
2 | | |
3 | Neptune - HTTP Proxy :: WinHttp Implementation | |
4 | | |
5 | (c) 2001-2007 Gilles Boccon-Gibod | |
6 | Author: Gilles Boccon-Gibod (bok@bok.net) | |
7 | | |
8 ****************************************************************/ | |
9 | |
10 /*---------------------------------------------------------------------- | |
11 | includes | |
12 +---------------------------------------------------------------------*/ | |
13 //#include <Winhttp.h> | |
14 #include "NptResults.h" | |
15 #include "NptHttp.h" | |
16 #include "NptThreads.h" | |
17 | |
18 #if 0 // not implemented yet | |
19 HINTERNET NPT_Win32HttpHandle = INVALID_HANDLE_VALUE; | |
20 NPT_Lock NPT_Win32HttpLock; | |
21 | |
22 /*---------------------------------------------------------------------- | |
23 | NPT_HttpProxySelector::GetSystemDefault | |
24 +---------------------------------------------------------------------*/ | |
25 NPT_HttpProxySelector* | |
26 NPT_HttpProxySelector::GetSystemDefault() | |
27 { | |
28 NPT_AutoLock lock(NPT_Win32HttpLock); | |
29 | |
30 if (NPT_Win32HttpHandle == INVALID_HANDLE_VALUE) { | |
31 WINHTTP_CURRENT_USER_IE_PROXY_CONFIG config; | |
32 BOOL result = WinHttpGetIEProxyConfigForCurrentUser(&config); | |
33 } | |
34 | |
35 return NULL; | |
36 } | |
37 #else | |
38 NPT_HttpProxySelector* | |
39 NPT_HttpProxySelector::GetSystemDefault() | |
40 { | |
41 return NULL; | |
42 } | |
43 #endif |