Commit 79231148 authored by Amine Khaldi's avatar Amine Khaldi Committed by Alexandre Julliard

activeds: Properly stub some exports.

parent 0b4969f8
3 stdcall ADsGetObject(wstr ptr ptr) 3 stdcall ADsGetObject(wstr ptr ptr)
4 stdcall ADsBuildEnumerator(ptr ptr) 4 stdcall ADsBuildEnumerator(ptr ptr)
5 stub ADsFreeEnumerator 5 stdcall ADsFreeEnumerator(ptr)
6 stdcall ADsEnumerateNext(ptr long ptr ptr) 6 stdcall ADsEnumerateNext(ptr long ptr ptr)
7 stub ADsBuildVarArrayStr 7 stdcall ADsBuildVarArrayStr(ptr long ptr)
8 stub ADsBuildVarArrayInt 8 stdcall ADsBuildVarArrayInt(ptr long ptr)
9 stdcall ADsOpenObject(wstr wstr wstr long ptr ptr) 9 stdcall ADsOpenObject(wstr wstr wstr long ptr ptr)
12 stub ADsSetLastError 12 stdcall ADsSetLastError(long ptr ptr)
13 stdcall ADsGetLastError(ptr ptr long ptr long) 13 stdcall ADsGetLastError(ptr ptr long ptr long)
14 stub AllocADsMem 14 stdcall AllocADsMem(long)
15 stdcall FreeADsMem(ptr) 15 stdcall FreeADsMem(ptr)
16 stub ReallocADsMem 16 stdcall ReallocADsMem(ptr long long)
17 stub AllocADsStr 17 stdcall AllocADsStr(ptr)
18 stub FreeADsStr 18 stdcall FreeADsStr(ptr)
19 stub ReallocADsStr 19 stdcall ReallocADsStr(ptr ptr)
20 stub ADsEncodeBinaryData 20 stdcall ADsEncodeBinaryData(ptr long ptr)
21 stub PropVariantToAdsType 21 stub PropVariantToAdsType
22 stub AdsTypeToPropVariant 22 stub AdsTypeToPropVariant
23 stub AdsFreeAdsValues 23 stub AdsFreeAdsValues
......
...@@ -76,6 +76,15 @@ HRESULT WINAPI ADsBuildEnumerator(IADsContainer * pADsContainer, IEnumVARIANT** ...@@ -76,6 +76,15 @@ HRESULT WINAPI ADsBuildEnumerator(IADsContainer * pADsContainer, IEnumVARIANT**
} }
/***************************************************** /*****************************************************
* ADsFreeEnumerator [ACTIVEDS.5]
*/
HRESULT WINAPI ADsFreeEnumerator(IEnumVARIANT* pEnumVariant)
{
FIXME("(%p)!stub\n",pEnumVariant);
return E_NOTIMPL;
}
/*****************************************************
* ADsEnumerateNext [ACTIVEDS.6] * ADsEnumerateNext [ACTIVEDS.6]
*/ */
HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT* pEnumVariant, ULONG cElements, VARIANT* pvar, ULONG * pcElementsFetched) HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT* pEnumVariant, ULONG cElements, VARIANT* pvar, ULONG * pcElementsFetched)
...@@ -85,6 +94,24 @@ HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT* pEnumVariant, ULONG cElements, VAR ...@@ -85,6 +94,24 @@ HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT* pEnumVariant, ULONG cElements, VAR
} }
/***************************************************** /*****************************************************
* ADsBuildVarArrayStr [ACTIVEDS.7]
*/
HRESULT WINAPI ADsBuildVarArrayStr(LPWSTR *lppPathNames, DWORD dwPathNames, VARIANT* pvar)
{
FIXME("(%p, %d, %p)!stub\n",*lppPathNames, dwPathNames, pvar);
return E_NOTIMPL;
}
/*****************************************************
* ADsBuildVarArrayInt [ACTIVEDS.8]
*/
HRESULT WINAPI ADsBuildVarArrayInt(LPDWORD lpdwObjectTypes, DWORD dwObjectTypes, VARIANT* pvar)
{
FIXME("(%p, %d, %p)!stub\n",lpdwObjectTypes, dwObjectTypes, pvar);
return E_NOTIMPL;
}
/*****************************************************
* ADsOpenObject [ACTIVEDS.9] * ADsOpenObject [ACTIVEDS.9]
*/ */
HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR lpszPassword, DWORD dwReserved, REFIID riid, VOID** ppObject) HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR lpszPassword, DWORD dwReserved, REFIID riid, VOID** ppObject)
...@@ -95,6 +122,14 @@ HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR ...@@ -95,6 +122,14 @@ HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR
} }
/***************************************************** /*****************************************************
* ADsSetLastError [ACTIVEDS.12]
*/
VOID WINAPI ADsSetLastError(DWORD dwErr, LPWSTR pszError, LPWSTR pszProvider)
{
FIXME("(%d,%p,%p)!stub\n", dwErr, pszError, pszProvider);
}
/*****************************************************
* ADsGetLastError [ACTIVEDS.13] * ADsGetLastError [ACTIVEDS.13]
*/ */
HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbuflen, LPWSTR namebuf, DWORD namebuflen) HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbuflen, LPWSTR namebuf, DWORD namebuflen)
...@@ -104,6 +139,15 @@ HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbufle ...@@ -104,6 +139,15 @@ HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbufle
} }
/***************************************************** /*****************************************************
* AllocADsMem [ACTIVEDS.14]
*/
LPVOID WINAPI AllocADsMem(DWORD cb)
{
FIXME("(%d)!stub\n",cb);
return NULL;
}
/*****************************************************
* FreeADsMem [ACTIVEDS.15] * FreeADsMem [ACTIVEDS.15]
*/ */
BOOL WINAPI FreeADsMem(LPVOID pMem) BOOL WINAPI FreeADsMem(LPVOID pMem)
...@@ -111,3 +155,48 @@ BOOL WINAPI FreeADsMem(LPVOID pMem) ...@@ -111,3 +155,48 @@ BOOL WINAPI FreeADsMem(LPVOID pMem)
FIXME("(%p)!stub\n",pMem); FIXME("(%p)!stub\n",pMem);
return FALSE; return FALSE;
} }
/*****************************************************
* ReallocADsMem [ACTIVEDS.16]
*/
LPVOID WINAPI ReallocADsMem(LPVOID pOldMem, DWORD cbOld, DWORD cbNew)
{
FIXME("(%p,%d,%d)!stub\n", pOldMem, cbOld, cbNew);
return NULL;
}
/*****************************************************
* AllocADsStr [ACTIVEDS.17]
*/
LPWSTR WINAPI AllocADsStr(LPWSTR pStr)
{
FIXME("(%p)!stub\n",pStr);
return NULL;
}
/*****************************************************
* FreeADsStr [ACTIVEDS.18]
*/
BOOL WINAPI FreeADsStr(LPWSTR pStr)
{
FIXME("(%p)!stub\n",pStr);
return FALSE;
}
/*****************************************************
* ReallocADsStr [ACTIVEDS.19]
*/
BOOL WINAPI ReallocADsStr(LPWSTR *ppStr, LPWSTR pStr)
{
FIXME("(%p,%p)!stub\n",*ppStr, pStr);
return FALSE;
}
/*****************************************************
* ADsEncodeBinaryData [ACTIVEDS.20]
*/
HRESULT WINAPI ADsEncodeBinaryData(PBYTE pbSrcData, DWORD dwSrcLen, LPWSTR *ppszDestData)
{
FIXME("(%p,%d,%p)!stub\n", pbSrcData, dwSrcLen, *ppszDestData);
return E_NOTIMPL;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment