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

activeds_main.c
Go to the documentation of this file.
00001 /*
00002  * Implementation of the Active Directory Service Interface
00003  *
00004  * Copyright 2005 Detlef Riekenberg
00005  *
00006  * This file contains only stubs to get the printui.dll up and running
00007  * activeds.dll is much much more than this
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of the License, or (at your option) any later version.
00013  *
00014  * This library is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with this library; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00022  */
00023 
00024 #include <stdarg.h>
00025 
00026 #define COBJMACROS
00027 #define NONAMELESSUNION
00028 
00029 #include "windef.h"
00030 #include "winbase.h"
00031 #include "winuser.h"
00032 
00033 #include "objbase.h"
00034 #include "iads.h"
00035 #include "adshlp.h"
00036 
00037 #include "wine/unicode.h"
00038 #include "wine/debug.h"
00039 
00040 WINE_DEFAULT_DEBUG_CHANNEL(activeds);
00041 
00042 /*****************************************************
00043  * DllMain
00044  */
00045 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
00046 {
00047     TRACE("(%p, %d, %p)\n",hinstDLL, fdwReason, lpvReserved);
00048 
00049     switch(fdwReason)
00050     {
00051     case DLL_WINE_PREATTACH:
00052         return FALSE;  /* prefer native version */
00053     case DLL_PROCESS_ATTACH:
00054         DisableThreadLibraryCalls( hinstDLL );
00055         break;
00056     }
00057     return TRUE;
00058 }
00059 
00060 /*****************************************************
00061  * ADsGetObject     [ACTIVEDS.3]
00062  */
00063 HRESULT WINAPI ADsGetObject(LPCWSTR lpszPathName, REFIID riid, VOID** ppObject)
00064 {
00065     FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
00066     return E_NOTIMPL;
00067 }
00068 
00069 /*****************************************************
00070  * ADsBuildEnumerator    [ACTIVEDS.4]
00071  */
00072 HRESULT WINAPI ADsBuildEnumerator(IADsContainer * pADsContainer, IEnumVARIANT** ppEnumVariant)
00073 {
00074     FIXME("(%p)->(%p)!stub\n",pADsContainer, ppEnumVariant);
00075     return E_NOTIMPL;
00076 }
00077 
00078 /*****************************************************
00079  * ADsEnumerateNext     [ACTIVEDS.6]
00080  */
00081 HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT* pEnumVariant, ULONG cElements, VARIANT* pvar, ULONG * pcElementsFetched)
00082 {
00083     FIXME("(%p)->(%u, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
00084     return E_NOTIMPL;
00085 }
00086 
00087 /*****************************************************
00088  * ADsOpenObject     [ACTIVEDS.9]
00089  */
00090 HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR lpszPassword, DWORD dwReserved, REFIID riid, VOID** ppObject)
00091 {
00092     FIXME("(%s,%s,%u,%p,%p)!stub\n", debugstr_w(lpszPathName),
00093           debugstr_w(lpszUserName), dwReserved, debugstr_guid(riid), ppObject);
00094     return E_NOTIMPL;
00095 }
00096 
00097 /*****************************************************
00098  * ADsGetLastError    [ACTIVEDS.13]
00099  */
00100 HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbuflen, LPWSTR namebuf, DWORD namebuflen)
00101 {
00102     FIXME("(%p,%p,%d,%p,%d)!stub\n", perror, errorbuf, errorbuflen, namebuf, namebuflen);
00103     return E_NOTIMPL;
00104 }
00105 
00106 /*****************************************************
00107  * FreeADsMem             [ACTIVEDS.15]
00108  */
00109 BOOL WINAPI FreeADsMem(LPVOID pMem)
00110 {
00111     FIXME("(%p)!stub\n",pMem);
00112     return FALSE;
00113 }

Generated on Fri May 25 2012 04:20:33 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.