Author: tkreuzer
Date: Wed Dec 1 13:16:39 2010
New Revision: 49880
URL:
http://svn.reactos.org/svn/reactos?rev=49880&view=rev
Log:
[CMAKE]
manual stubs for atl
Added:
branches/cmake-bringup/dll/win32/atl/stubs.c (with props)
Modified:
branches/cmake-bringup/dll/win32/atl/CMakeLists.txt
branches/cmake-bringup/dll/win32/atl/atl.spec
Modified: branches/cmake-bringup/dll/win32/atl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/atl/CMa…
==============================================================================
--- branches/cmake-bringup/dll/win32/atl/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/atl/CMakeLists.txt [iso-8859-1] Wed Dec 1 13:16:39
2010
@@ -14,6 +14,7 @@
atl_ax.c
atl_main.c
registrar.c
+ stubs.c
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/atl.def)
Modified: branches/cmake-bringup/dll/win32/atl/atl.spec
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/atl/atl…
==============================================================================
--- branches/cmake-bringup/dll/win32/atl/atl.spec [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/atl/atl.spec [iso-8859-1] Wed Dec 1 13:16:39 2010
@@ -16,18 +16,18 @@
21 stdcall AtlModuleTerm(ptr)
22 stdcall AtlModuleUnregisterServer(ptr ptr)
23 stdcall AtlModuleUpdateRegistryFromResourceD(ptr wstr long ptr ptr)
-24 stub AtlWaitWithMessageLoop
-25 stub AtlSetErrorInfo
+24 stdcall AtlWaitWithMessageLoop(ptr)
+25 stdcall AtlSetErrorInfo(ptr ptr long ptr ptr ptr ptr)
26 stdcall AtlCreateTargetDC(long ptr)
27 stdcall AtlHiMetricToPixel(ptr ptr)
28 stdcall AtlPixelToHiMetric(ptr ptr)
-29 stub AtlDevModeW2A
+29 stdcall AtlDevModeW2A(ptr ptr)
30 stdcall AtlComPtrAssign(ptr ptr)
31 stdcall AtlComQIPtrAssign(ptr ptr ptr)
32 stdcall AtlInternalQueryInterface(ptr ptr ptr ptr)
-34 stub AtlGetVersion
-35 stub AtlAxDialogBoxW
-36 stub AtlAxDialogBoxA
+34 stdcall AtlGetVersion(ptr)
+35 stdcall AtlAxDialogBoxW(ptr wstr ptr ptr ptr)
+36 stdcall AtlAxDialogBoxA(ptr str ptr ptr ptr)
37 stdcall AtlAxCreateDialogW(long wstr long ptr long)
38 stdcall AtlAxCreateDialogA(long str long ptr long)
39 stdcall AtlAxCreateControl(ptr ptr ptr ptr)
@@ -40,13 +40,13 @@
46 stdcall AtlModuleRegisterWndClassInfoA(ptr ptr ptr)
47 stdcall AtlAxGetControl(long ptr)
48 stdcall AtlAxGetHost(long ptr)
-49 stub AtlRegisterClassCategoriesHelper
+49 stdcall AtlRegisterClassCategoriesHelper(ptr ptr long)
50 stdcall AtlIPersistStreamInit_Load(ptr ptr ptr ptr)
51 stdcall AtlIPersistStreamInit_Save(ptr long ptr ptr ptr)
-52 stub AtlIPersistPropertyBag_Load
-53 stub AtlIPersistPropertyBag_Save
-54 stub AtlGetObjectSourceInterface
-55 stub AtlModuleUnRegisterTypeLib
+52 stdcall AtlIPersistPropertyBag_Load(ptr ptr ptr ptr ptr)
+53 stdcall AtlIPersistPropertyBag_Save(ptr long long ptr ptr ptr)
+54 stdcall AtlGetObjectSourceInterface(ptr ptr ptr ptr ptr)
+55 stdcall AtlModuleUnregisterTypeLib(ptr str)
56 stdcall AtlModuleLoadTypeLib(ptr wstr ptr ptr)
57 stdcall AtlModuleUnregisterServerEx(ptr long ptr)
58 stdcall AtlModuleAddTermFunc(ptr ptr long)
Added: branches/cmake-bringup/dll/win32/atl/stubs.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/atl/stu…
==============================================================================
--- branches/cmake-bringup/dll/win32/atl/stubs.c (added)
+++ branches/cmake-bringup/dll/win32/atl/stubs.c [iso-8859-1] Wed Dec 1 13:16:39 2010
@@ -1,0 +1,127 @@
+#include <windows.h>
+#include <debug.h>
+
+#define ATLAPI_(x) x WINAPI
+#define ATLAPI ATLAPI_(HRESULT)
+
+struct _ATL_CATMAP_ENTRY;
+typedef struct _ATL_PROPMAP_ENTRY ATL_PROPMAP_ENTRY;
+typedef struct _ATL_MODULE _ATL_MODULE;
+
+BOOL
+WINAPI
+AtlWaitWithMessageLoop(
+ HANDLE hEvent)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+ATLAPI
+AtlSetErrorInfo(
+ const CLSID *pclsid,
+ LPCOLESTR lpszDesc,
+ DWORD dwHelpID,
+ LPCOLESTR lpszHelpFile,
+ const IID *piid,
+ HRESULT hRes,
+ HINSTANCE hInst)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+ATLAPI_(LPDEVMODEA)
+AtlDevModeW2A(LPDEVMODEA lpDevModeA, LPDEVMODEW lpDevModeW)
+{
+ UNIMPLEMENTED;
+ return NULL;
+}
+
+ATLAPI_(DWORD)
+AtlGetVersion(void* pReserved)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ATLAPI_(int)
+AtlAxDialogBoxW(
+ HINSTANCE hInstance,
+ LPCWSTR lpTemplateName,
+ HWND hWndParent,
+ DLGPROC lpDialogProc,
+ LPARAM dwInitParam)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ATLAPI_(int)
+AtlAxDialogBoxA(
+ HINSTANCE hInstance,
+ LPCSTR lpTemplateName,
+ HWND hWndParent,
+ DLGPROC lpDialogProc,
+ LPARAM dwInitParam)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ATLAPI_(int)
+AtlRegisterClassCategoriesHelper(
+ const CLSID *pclsid,
+ const struct _ATL_CATMAP_ENTRY* pEntry,
+ BOOL arg3)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+ATLAPI
+AtlIPersistPropertyBag_Load(
+ LPPROPERTYBAG pPropBag,
+ LPERRORLOG pErrorLog,
+ const ATL_PROPMAP_ENTRY* pMap,
+ void* pThis,
+ IUnknown* pUnk)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+ATLAPI
+AtlIPersistPropertyBag_Save(
+ LPPROPERTYBAG pPropBag,
+ BOOL fClearDirty,
+ BOOL fSaveAllProperties,
+ const ATL_PROPMAP_ENTRY* pMap,
+ void* pThis,
+ IUnknown* pUnk)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+ATLAPI
+AtlGetObjectSourceInterface(
+ IUnknown* punkObj,
+ GUID* plibid,
+ IID* piid,
+ unsigned short* pdwMajor,
+ unsigned short* pdwMinor)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
+ATLAPI
+AtlModuleUnregisterTypeLib(
+ _ATL_MODULE* pM,
+ LPCOLESTR lpszIndex)
+{
+ UNIMPLEMENTED;
+ return E_NOTIMPL;
+}
+
Propchange: branches/cmake-bringup/dll/win32/atl/stubs.c
------------------------------------------------------------------------------
svn:eol-style = native