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
24 #define WIN32_NO_STATUS
26 #define COM_NO_WINDOWS_H
31 #define NONAMELESSUNION
35 //#include "winuser.h"
41 //#include "wine/unicode.h"
42 #include <wine/debug.h>
44 WINE_DEFAULT_DEBUG_CHANNEL(activeds
);
46 /*****************************************************
49 BOOL WINAPI
DllMain(HINSTANCE hinstDLL
, DWORD fdwReason
, LPVOID lpvReserved
)
51 TRACE("(%p, %d, %p)\n",hinstDLL
, fdwReason
, lpvReserved
);
55 case DLL_WINE_PREATTACH
:
56 return FALSE
; /* prefer native version */
57 case DLL_PROCESS_ATTACH
:
58 DisableThreadLibraryCalls( hinstDLL
);
64 /*****************************************************
65 * ADsGetObject [ACTIVEDS.3]
67 HRESULT WINAPI
ADsGetObject(LPCWSTR lpszPathName
, REFIID riid
, VOID
** ppObject
)
69 FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName
), debugstr_guid(riid
), ppObject
);
73 /*****************************************************
74 * ADsBuildEnumerator [ACTIVEDS.4]
76 HRESULT WINAPI
ADsBuildEnumerator(IADsContainer
* pADsContainer
, IEnumVARIANT
** ppEnumVariant
)
78 FIXME("(%p)->(%p)!stub\n",pADsContainer
, ppEnumVariant
);
82 /*****************************************************
83 * ADsFreeEnumerator [ACTIVEDS.5]
85 HRESULT WINAPI
ADsFreeEnumerator(IEnumVARIANT
* pEnumVariant
)
87 FIXME("(%p)!stub\n",pEnumVariant
);
91 /*****************************************************
92 * ADsEnumerateNext [ACTIVEDS.6]
94 HRESULT WINAPI
ADsEnumerateNext(IEnumVARIANT
* pEnumVariant
, ULONG cElements
, VARIANT
* pvar
, ULONG
* pcElementsFetched
)
96 FIXME("(%p)->(%u, %p, %p)!stub\n",pEnumVariant
, cElements
, pvar
, pcElementsFetched
);
100 /*****************************************************
101 * ADsBuildVarArrayStr [ACTIVEDS.7]
103 HRESULT WINAPI
ADsBuildVarArrayStr(LPWSTR
*lppPathNames
, DWORD dwPathNames
, VARIANT
* pvar
)
105 FIXME("(%p, %d, %p)!stub\n",*lppPathNames
, dwPathNames
, pvar
);
109 /*****************************************************
110 * ADsBuildVarArrayInt [ACTIVEDS.8]
112 HRESULT WINAPI
ADsBuildVarArrayInt(LPDWORD lpdwObjectTypes
, DWORD dwObjectTypes
, VARIANT
* pvar
)
114 FIXME("(%p, %d, %p)!stub\n",lpdwObjectTypes
, dwObjectTypes
, pvar
);
118 /*****************************************************
119 * ADsOpenObject [ACTIVEDS.9]
121 HRESULT WINAPI
ADsOpenObject(LPCWSTR lpszPathName
, LPCWSTR lpszUserName
, LPCWSTR lpszPassword
, DWORD dwReserved
, REFIID riid
, VOID
** ppObject
)
123 FIXME("(%s,%s,%u,%s,%p)!stub\n", debugstr_w(lpszPathName
),
124 debugstr_w(lpszUserName
), dwReserved
, debugstr_guid(riid
), ppObject
);
128 /*****************************************************
129 * ADsSetLastError [ACTIVEDS.12]
131 VOID WINAPI
ADsSetLastError(DWORD dwErr
, LPWSTR pszError
, LPWSTR pszProvider
)
133 FIXME("(%d,%p,%p)!stub\n", dwErr
, pszError
, pszProvider
);
136 /*****************************************************
137 * ADsGetLastError [ACTIVEDS.13]
139 HRESULT WINAPI
ADsGetLastError(LPDWORD perror
, LPWSTR errorbuf
, DWORD errorbuflen
, LPWSTR namebuf
, DWORD namebuflen
)
141 FIXME("(%p,%p,%d,%p,%d)!stub\n", perror
, errorbuf
, errorbuflen
, namebuf
, namebuflen
);
145 /*****************************************************
146 * AllocADsMem [ACTIVEDS.14]
148 LPVOID WINAPI
AllocADsMem(DWORD cb
)
150 FIXME("(%d)!stub\n",cb
);
154 /*****************************************************
155 * FreeADsMem [ACTIVEDS.15]
157 BOOL WINAPI
FreeADsMem(LPVOID pMem
)
159 FIXME("(%p)!stub\n",pMem
);
163 /*****************************************************
164 * ReallocADsMem [ACTIVEDS.16]
166 LPVOID WINAPI
ReallocADsMem(LPVOID pOldMem
, DWORD cbOld
, DWORD cbNew
)
168 FIXME("(%p,%d,%d)!stub\n", pOldMem
, cbOld
, cbNew
);
172 /*****************************************************
173 * AllocADsStr [ACTIVEDS.17]
175 LPWSTR WINAPI
AllocADsStr(LPWSTR pStr
)
177 FIXME("(%p)!stub\n",pStr
);
181 /*****************************************************
182 * FreeADsStr [ACTIVEDS.18]
184 BOOL WINAPI
FreeADsStr(LPWSTR pStr
)
186 FIXME("(%p)!stub\n",pStr
);
190 /*****************************************************
191 * ReallocADsStr [ACTIVEDS.19]
193 BOOL WINAPI
ReallocADsStr(LPWSTR
*ppStr
, LPWSTR pStr
)
195 FIXME("(%p,%p)!stub\n",*ppStr
, pStr
);
199 /*****************************************************
200 * ADsEncodeBinaryData [ACTIVEDS.20]
202 HRESULT WINAPI
ADsEncodeBinaryData(PBYTE pbSrcData
, DWORD dwSrcLen
, LPWSTR
*ppszDestData
)
204 FIXME("(%p,%d,%p)!stub\n", pbSrcData
, dwSrcLen
, *ppszDestData
);