2 * Implementation of the Active Directory Service Interface
4 * Copyright 2005 Detlef Riekenberg
6 * This file contains only stubs to get the printui.dll up and running
7 * activeds.dll is much much more than this
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
36 #include "wine/debug.h"
38 WINE_DEFAULT_DEBUG_CHANNEL(activeds
);
40 /*****************************************************
43 BOOL WINAPI
DllMain(HINSTANCE hinstDLL
, DWORD fdwReason
, LPVOID lpvReserved
)
45 TRACE("(%p, %d, %p)\n",hinstDLL
, fdwReason
, lpvReserved
);
49 case DLL_WINE_PREATTACH
:
50 return FALSE
; /* prefer native version */
51 case DLL_PROCESS_ATTACH
:
52 DisableThreadLibraryCalls( hinstDLL
);
58 /*****************************************************
59 * ADsGetObject [ACTIVEDS.3]
61 HRESULT WINAPI
ADsGetObject(LPCWSTR lpszPathName
, REFIID riid
, VOID
** ppObject
)
63 FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName
), debugstr_guid(riid
), ppObject
);
67 /*****************************************************
68 * ADsBuildEnumerator [ACTIVEDS.4]
70 HRESULT WINAPI
ADsBuildEnumerator(IADsContainer
* pADsContainer
, IEnumVARIANT
** ppEnumVariant
)
72 FIXME("(%p)->(%p)!stub\n",pADsContainer
, ppEnumVariant
);
76 /*****************************************************
77 * ADsFreeEnumerator [ACTIVEDS.5]
79 HRESULT WINAPI
ADsFreeEnumerator(IEnumVARIANT
* pEnumVariant
)
81 FIXME("(%p)!stub\n",pEnumVariant
);
85 /*****************************************************
86 * ADsEnumerateNext [ACTIVEDS.6]
88 HRESULT WINAPI
ADsEnumerateNext(IEnumVARIANT
* pEnumVariant
, ULONG cElements
, VARIANT
* pvar
, ULONG
* pcElementsFetched
)
90 FIXME("(%p)->(%u, %p, %p)!stub\n",pEnumVariant
, cElements
, pvar
, pcElementsFetched
);
94 /*****************************************************
95 * ADsBuildVarArrayStr [ACTIVEDS.7]
97 HRESULT WINAPI
ADsBuildVarArrayStr(LPWSTR
*lppPathNames
, DWORD dwPathNames
, VARIANT
* pvar
)
99 FIXME("(%p, %d, %p)!stub\n",*lppPathNames
, dwPathNames
, pvar
);
103 /*****************************************************
104 * ADsBuildVarArrayInt [ACTIVEDS.8]
106 HRESULT WINAPI
ADsBuildVarArrayInt(LPDWORD lpdwObjectTypes
, DWORD dwObjectTypes
, VARIANT
* pvar
)
108 FIXME("(%p, %d, %p)!stub\n",lpdwObjectTypes
, dwObjectTypes
, pvar
);
112 /*****************************************************
113 * ADsOpenObject [ACTIVEDS.9]
115 HRESULT WINAPI
ADsOpenObject(LPCWSTR lpszPathName
, LPCWSTR lpszUserName
, LPCWSTR lpszPassword
, DWORD dwReserved
, REFIID riid
, VOID
** ppObject
)
117 FIXME("(%s,%s,%u,%s,%p)!stub\n", debugstr_w(lpszPathName
),
118 debugstr_w(lpszUserName
), dwReserved
, debugstr_guid(riid
), ppObject
);
122 /*****************************************************
123 * ADsSetLastError [ACTIVEDS.12]
125 VOID WINAPI
ADsSetLastError(DWORD dwErr
, LPWSTR pszError
, LPWSTR pszProvider
)
127 FIXME("(%d,%p,%p)!stub\n", dwErr
, pszError
, pszProvider
);
130 /*****************************************************
131 * ADsGetLastError [ACTIVEDS.13]
133 HRESULT WINAPI
ADsGetLastError(LPDWORD perror
, LPWSTR errorbuf
, DWORD errorbuflen
, LPWSTR namebuf
, DWORD namebuflen
)
135 FIXME("(%p,%p,%d,%p,%d)!stub\n", perror
, errorbuf
, errorbuflen
, namebuf
, namebuflen
);
139 /*****************************************************
140 * AllocADsMem [ACTIVEDS.14]
142 LPVOID WINAPI
AllocADsMem(DWORD cb
)
144 FIXME("(%d)!stub\n",cb
);
148 /*****************************************************
149 * FreeADsMem [ACTIVEDS.15]
151 BOOL WINAPI
FreeADsMem(LPVOID pMem
)
153 FIXME("(%p)!stub\n",pMem
);
157 /*****************************************************
158 * ReallocADsMem [ACTIVEDS.16]
160 LPVOID WINAPI
ReallocADsMem(LPVOID pOldMem
, DWORD cbOld
, DWORD cbNew
)
162 FIXME("(%p,%d,%d)!stub\n", pOldMem
, cbOld
, cbNew
);
166 /*****************************************************
167 * AllocADsStr [ACTIVEDS.17]
169 LPWSTR WINAPI
AllocADsStr(LPWSTR pStr
)
171 FIXME("(%p)!stub\n",pStr
);
175 /*****************************************************
176 * FreeADsStr [ACTIVEDS.18]
178 BOOL WINAPI
FreeADsStr(LPWSTR pStr
)
180 FIXME("(%p)!stub\n",pStr
);
184 /*****************************************************
185 * ReallocADsStr [ACTIVEDS.19]
187 BOOL WINAPI
ReallocADsStr(LPWSTR
*ppStr
, LPWSTR pStr
)
189 FIXME("(%p,%p)!stub\n",*ppStr
, pStr
);
193 /*****************************************************
194 * ADsEncodeBinaryData [ACTIVEDS.20]
196 HRESULT WINAPI
ADsEncodeBinaryData(PBYTE pbSrcData
, DWORD dwSrcLen
, LPWSTR
*ppszDestData
)
198 FIXME("(%p,%d,%p)!stub\n", pbSrcData
, dwSrcLen
, *ppszDestData
);