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

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

Generated on Thu May 24 2012 04:24:28 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.