Author: tkreuzer
Date: Wed Dec 1 09:44:45 2010
New Revision: 49879
URL:
http://svn.reactos.org/svn/reactos?rev=49879&view=rev
Log:
[CMAKE]
Manual stubs for activeds
Added:
branches/cmake-bringup/dll/win32/activeds/stubs.c (with props)
Modified:
branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt
branches/cmake-bringup/dll/win32/activeds/activeds.spec
Modified: branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/actived…
==============================================================================
--- branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt [iso-8859-1] Wed Dec 1
09:44:45 2010
@@ -7,6 +7,7 @@
list(APPEND SOURCE
activeds_main.c
+ stubs.c
${CMAKE_CURRENT_BINARY_DIR}/activeds.def)
add_library(activeds SHARED ${SOURCE})
Modified: branches/cmake-bringup/dll/win32/activeds/activeds.spec
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/actived…
==============================================================================
--- branches/cmake-bringup/dll/win32/activeds/activeds.spec [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/activeds/activeds.spec [iso-8859-1] Wed Dec 1
09:44:45 2010
@@ -1,28 +1,28 @@
3 stdcall ADsGetObject(wstr ptr ptr)
4 stdcall ADsBuildEnumerator(ptr ptr)
-5 stub ADsFreeEnumerator
+5 stdcall ADsFreeEnumerator(ptr)
6 stdcall ADsEnumerateNext(ptr long ptr ptr)
-7 stub ADsBuildVarArrayStr
-8 stub ADsBuildVarArrayInt
+7 stdcall ADsBuildVarArrayStr(ptr long ptr)
+8 stdcall ADsBuildVarArrayInt(ptr long ptr)
9 stdcall ADsOpenObject(wstr wstr wstr long ptr ptr)
-12 stub ADsSetLastError
+12 stdcall ADsSetLastError(long str str)
13 stdcall ADsGetLastError(ptr ptr long ptr long)
-14 stub AllocADsMem
+14 stdcall AllocADsMem(long)
15 stdcall FreeADsMem(ptr)
-16 stub ReallocADsMem
-17 stub AllocADsStr
-18 stub FreeADsStr
-19 stub ReallocADsStr
-20 stub ADsEncodeBinaryData
-21 stub PropVariantToAdsType
-22 stub AdsTypeToPropVariant
-23 stub AdsFreeAdsValues
-24 stub ADsDecodeBinaryData
-25 stub AdsTypeToPropVariant2
-26 stub PropVariantToAdsType2
-27 stub ConvertSecDescriptorToVariant
-28 stub ConvertSecurityDescriptorToSecDes
-#@ stub DllCanUnloadNow
-#@ stub DllGetClassObject
-#@ stub DllRegisterServer
-#@ stub DllUnregisterServer
+16 stdcall ReallocADsMem(ptr long long)
+17 stdcall AllocADsStr(ptr)
+18 stdcall FreeADsStr(ptr)
+19 stdcall ReallocADsStr(ptr ptr)
+20 stdcall ADsEncodeBinaryData(ptr long ptr)
+21 stdcall PropVariantToAdsType(ptr long ptr ptr)
+22 stdcall AdsTypeToPropVariant(ptr long ptr)
+23 stdcall AdsFreeAdsValues(ptr long)
+24 stdcall ADsDecodeBinaryData(wstr ptr long)
+25 cdecl AdsTypeToPropVariant2() # unknown prototype
+26 cdecl PropVariantToAdsType2() # unknown prototype
+27 cdecl ConvertSecDescriptorToVariant() # unknown prototype
+28 cdecl ConvertSecurityDescriptorToSecDes() # unknown prototype
+#@ stdcall -private DllCanUnloadNow()
+#@ stdcall -private DllGetClassObject(ptr ptr ptr)
+#@ stdcall -private DllRegisterServer()
+#@ stdcall -private DllUnregisterServer()
Added: branches/cmake-bringup/dll/win32/activeds/stubs.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/actived…
==============================================================================
--- branches/cmake-bringup/dll/win32/activeds/stubs.c (added)
+++ branches/cmake-bringup/dll/win32/activeds/stubs.c [iso-8859-1] Wed Dec 1 09:44:45
2010
@@ -1,0 +1,176 @@
+#include <windows.h>
+#include <iads.h>
+#include <stubs.h>
+
+// FIXME: should go to iads.h
+typedef struct _adsvalue *PADSVALUE;
+
+HRESULT
+WINAPI
+ADsFreeEnumerator(
+ IN IEnumVARIANT *pEnumVariant)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+HRESULT
+WINAPI
+ADsBuildVarArrayStr(
+ LPWSTR *lppPathNames,
+ DWORD dwPathNames,
+ VARIANT *pVar)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+HRESULT
+WINAPI
+ADsBuildVarArrayInt(
+ LPDWORD lpdwObjectTypes,
+ DWORD dwObjectTypes,
+ VARIANT *pVar)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+VOID
+WINAPI
+ADsSetLastError(
+ IN DWORD dwErr,
+ IN LPCWSTR pszError,
+ IN LPCWSTR pszProvider)
+
+{
+ UNIMPLEMENTED;
+}
+
+LPVOID
+WINAPI
+AllocADsMem(DWORD cb)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+LPVOID
+WINAPI
+ReallocADsMem(
+ LPVOID pOldMem,
+ DWORD cbOld,
+ DWORD cbNew)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+LPWSTR
+WINAPI
+AllocADsStr(LPCWSTR pStr)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+BOOL
+WINAPI
+FreeADsStr(IN LPWSTR pStr)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+BOOL
+WINAPI
+ReallocADsStr(
+ IN OUT LPWSTR *ppStr,
+ IN LPWSTR pStr)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+HRESULT
+WINAPI
+ADsEncodeBinaryData(
+ PBYTE pbSrcData,
+ DWORD dwSrcLen,
+ OUT LPWSTR *ppszDestData)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+HRESULT
+WINAPI
+PropVariantToAdsType(
+ VARIANT * pVariant,
+ DWORD dwNumVariant,
+ PADSVALUE *ppAdsValues,
+ PDWORD pdwNumValues)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+HRESULT
+WINAPI
+AdsTypeToPropVariant(
+ PADSVALUE pAdsValues,
+ DWORD dwNumValues,
+ VARIANT * pVariant)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+void
+WINAPI
+AdsFreeAdsValues(
+ PADSVALUE pAdsValues,
+ DWORD dwNumValues)
+{
+ UNIMPLEMENTED;
+}
+
+HRESULT
+WINAPI
+ADsDecodeBinaryData(
+ LPCWSTR szSrcData,
+ PBYTE *ppbDestData,
+ ULONG *pdwDestLen)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+int AdsTypeToPropVariant2()
+{
+ DPRINT1("WARNING: calling stub AdsTypeToPropVariant2()\n");
+ __wine_spec_unimplemented_stub("activeds.dll", __FUNCTION__);
+ return 0;
+}
+
+int PropVariantToAdsType2()
+{
+ DPRINT1("WARNING: calling stub PropVariantToAdsType2()\n");
+ __wine_spec_unimplemented_stub("activeds.dll", __FUNCTION__);
+ return 0;
+}
+
+int ConvertSecDescriptorToVariant()
+{
+ DPRINT1("WARNING: calling stub ConvertSecDescriptorToVariant()\n");
+ __wine_spec_unimplemented_stub("activeds.dll", __FUNCTION__);
+ return 0;
+}
+
+int ConvertSecurityDescriptorToSecDes()
+{
+ DPRINT1("WARNING: calling stub ConvertSecurityDescriptorToSecDes()\n");
+ __wine_spec_unimplemented_stub("activeds.dll", __FUNCTION__);
+ return 0;
+}
+
Propchange: branches/cmake-bringup/dll/win32/activeds/stubs.c
------------------------------------------------------------------------------
svn:eol-style = native