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

query_main.c
Go to the documentation of this file.
00001 /*
00002  *    Query 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 "winreg.h"
00031 #include "ole2.h"
00032 #include "ntquery.h"
00033 #include "cierror.h"
00034 #include "initguid.h"
00035 
00036 #include "wine/debug.h"
00037 
00038 WINE_DEFAULT_DEBUG_CHANNEL(query);
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         DisableThreadLibraryCalls(hInstDLL);
00048         break;
00049     case DLL_PROCESS_DETACH:
00050         break;
00051     }
00052     return TRUE;
00053 }
00054 
00055 /***********************************************************************
00056  *             DllGetClassObject (QUERY.@)
00057  */
00058 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
00059 {
00060     FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv);
00061 
00062     return CLASS_E_CLASSNOTAVAILABLE;
00063 }
00064 
00065 HRESULT WINAPI DllCanUnloadNow(void)
00066 {
00067     return S_FALSE;
00068 }
00069 
00070 HRESULT WINAPI DllRegisterServer(void)
00071 {
00072     FIXME("\n");
00073     return S_OK;
00074 }
00075 
00076 HRESULT WINAPI CIState( WCHAR const *pwcsCat, WCHAR const *pwcsMachine, CI_STATE *pCiState)
00077 {
00078     FIXME("%s %s %p\n", debugstr_w(pwcsCat), debugstr_w(pwcsMachine), pCiState);
00079     return CI_E_NOT_RUNNING;
00080 }
00081 
00082 HRESULT WINAPI LocateCatalogsA(CHAR const *pwszScope, ULONG iBm,
00083                                CHAR *pwszMachine, ULONG *pcMachine,
00084                                CHAR *pwszCat, ULONG *pcCat)
00085 {
00086 
00087     FIXME("%s %u %p %p %p %p\n", debugstr_a(pwszScope),
00088           iBm, pwszMachine, pcMachine, pwszCat, pcCat);
00089     return CI_E_NOT_RUNNING;
00090 }
00091 
00092 HRESULT WINAPI LocateCatalogsW(WCHAR const *pwszScope, ULONG iBm,
00093                                WCHAR *pwszMachine, ULONG *pcMachine,
00094                                WCHAR *pwszCat, ULONG *pcCat)
00095 {
00096 
00097     FIXME("%s %u %p %p %p %p\n", debugstr_w(pwszScope),
00098           iBm, pwszMachine, pcMachine, pwszCat, pcCat);
00099     return CI_E_NOT_RUNNING;
00100 }
00101 
00102 HRESULT WINAPI LoadIFilter(WCHAR const *pwcsPath, IUnknown *pUnkOuter, void **ppIUnk)
00103 {
00104     FIXME("%s %p %p\n", debugstr_w(pwcsPath), pUnkOuter, ppIUnk);
00105     *ppIUnk = NULL;
00106     return E_NOTIMPL;
00107 }

Generated on Sat May 26 2012 04:24:29 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.