4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
17 DWORD currentMalloc
=0;
19 /***********************************************************************
20 * CoBuildVersion [COMPOBJ.1]
22 DWORD WINAPI
CoBuildVersion()
24 dprintf_ole(stddeb
,"CoBuildVersion()\n");
28 /***********************************************************************
29 * CoInitialize [COMPOBJ.2]
30 * lpReserved is an IMalloc pointer in 16bit OLE. We just stored it as-is.
32 HRESULT WINAPI
CoInitialize(DWORD lpReserved
)
34 dprintf_ole(stdnimp
,"CoInitialize\n");
35 /* remember the LPMALLOC, maybe somebody wants to read it later on */
36 currentMalloc
= lpReserved
;
40 /***********************************************************************
41 * CoUnitialize [COMPOBJ.3]
45 dprintf_ole(stdnimp
,"CoUnitialize()\n");
48 /***********************************************************************
49 * CoGetMalloc [COMPOBJ.4]
51 HRESULT WINAPI
CoGetMalloc(DWORD dwMemContext
, DWORD
* lpMalloc
)
55 *lpMalloc
= currentMalloc
;
59 /* 16-bit E_NOTIMPL */
63 /***********************************************************************
66 OLESTATUS WINAPI
CoDisconnectObject(
70 dprintf_ole(stdnimp
,"CoDisconnectObject:%p %lx\n",lpUnk
,reserved
);