ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

main.c
Go to the documentation of this file.
00001 /*
00002  * Copyright 2007 Jacek Caban for CodeWeavers
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 #include "config.h"
00020 
00021 #include <stdarg.h>
00022 
00023 #include "windef.h"
00024 #include "winbase.h"
00025 #include "objbase.h"
00026 #include "winhttp.h"
00027 
00028 #include "wine/debug.h"
00029 
00030 #include "winhttp_private.h"
00031 
00032 WINE_DEFAULT_DEBUG_CHANNEL(winhttp);
00033 
00034 /******************************************************************
00035  *              DllMain (winhttp.@)
00036  */
00037 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
00038 {
00039     switch(fdwReason)
00040     {
00041     case DLL_PROCESS_ATTACH:
00042         DisableThreadLibraryCalls(hInstDLL);
00043         break;
00044     case DLL_PROCESS_DETACH:
00045         netconn_unload();
00046         break;
00047     }
00048     return TRUE;
00049 }
00050 
00051 /******************************************************************
00052  *      DllGetClassObject (winhttp.@)
00053  */
00054 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
00055 {
00056     FIXME("(%s %s %p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
00057     return CLASS_E_CLASSNOTAVAILABLE;
00058 }
00059 
00060 /******************************************************************
00061  *              DllCanUnloadNow (winhttp.@)
00062  */
00063 HRESULT WINAPI DllCanUnloadNow(void)
00064 {
00065     return S_FALSE;
00066 }
00067 
00068 /***********************************************************************
00069  *          DllRegisterServer (winhttp.@)
00070  */
00071 HRESULT WINAPI DllRegisterServer(void)
00072 {
00073     FIXME("()\n");
00074     return S_OK;
00075 }
00076 
00077 /***********************************************************************
00078  *          DllUnregisterServer (winhttp.@)
00079  */
00080 HRESULT WINAPI DllUnregisterServer(void)
00081 {
00082     FIXME("()\n");
00083     return S_OK;
00084 }

Generated on Fri May 25 2012 04:15:05 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.