source: trunk/src/ole32/stubs.cpp@ 3831

Last change on this file since 3831 was 3178, checked in by davidr, 25 years ago

Ported from Wine

File size: 29.3 KB
Line 
1/* $Id: stubs.cpp,v 1.13 2000-03-21 00:38:38 davidr Exp $ */
2/*
3 * Win32 COM/OLE stubs for OS/2
4 *
5 * 1/7/99
6 *
7 * Copyright 1999 David J. Raison
8 * Copyright 1998 Sander van Leeuwen
9 *
10 *
11 * Project Odin Software License can be found in LICENSE.TXT
12 *
13 */
14
15#include "ole32.h"
16
17//*******************************************************************************
18//*******************************************************************************
19HRESULT WIN32API DllDebugObjectRPCHook()
20{
21 dprintf(("OLE32: DllDebugObjectRPCHook, UNKNOWN API - stub"));
22 return 0;
23}
24//*******************************************************************************
25//*******************************************************************************
26HRESULT WIN32API DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
27{
28 dprintf(("OLE32: DllGetClassObject - stub"));
29 return E_OUTOFMEMORY;
30}
31//*******************************************************************************
32//*******************************************************************************
33HRESULT WIN32API DllGetClassObjectWOW()
34{
35 dprintf(("OLE32: DllGetClassObjectWOW, UNKNOWN API - stub"));
36 return 0;
37}
38//*****************************************************************************
39//*****************************************************************************
40HRESULT WIN32API CoCreateFreeThreadedMarshaler(LPUNKNOWN punkOuter,
41 LPUNKNOWN *ppunkMarshaler)
42{
43 dprintf(("OLE32: CoCreateFreeThreadedMarshaler- stub"));
44 return E_OUTOFMEMORY;
45}
46//*******************************************************************************
47//*******************************************************************************
48HRESULT WIN32API CoDisconnectObject(IUnknown *pUnk, DWORD dwReserved)
49{
50 dprintf(("OLE32: CoDisconnectObject - stub"));
51 return S_OK;
52}
53//*******************************************************************************
54//*******************************************************************************
55HRESULT WIN32API CoGetCallerTID()
56{
57 dprintf(("OLE32: CoGetCallerTID, UNKNOWN API - stub"));
58 return 0;
59}
60//*******************************************************************************
61//*******************************************************************************
62HRESULT WIN32API CoGetCurrentLogicalThreadId()
63{
64 dprintf(("OLE32: CoGetCurrentLogicalThreadId, UNKNOWN API - stub"));
65 return 0;
66}
67//*******************************************************************************
68//*******************************************************************************
69HRESULT WIN32API CoGetInterfaceAndReleaseStream(LPSTREAM pStm, REFIID riid,
70 LPVOID *ppv)
71{
72 dprintf(("OLE32: CoGetInterfaceAndReleaseStream - stub"));
73 return E_INVALIDARG;
74}
75//*******************************************************************************
76//*******************************************************************************
77HRESULT WIN32API CoGetMarshalSizeMax(ULONG *pulSize, REFIID riid, IUnknown *pUnk,
78 DWORD dwDestContext, LPVOID pvDestContext,
79 DWORD mshlflags)
80{
81 dprintf(("OLE32: CoGetMarshalSizeMax - stub"));
82 return CO_E_NOTINITIALIZED;
83}
84//*******************************************************************************
85//*******************************************************************************
86HRESULT WIN32API CoGetPSClsid(REFIID riid, CLSID *pclsid)
87{
88 dprintf(("OLE32: CoGetPSClsid - stub"));
89 return E_OUTOFMEMORY;
90}
91//*******************************************************************************
92//*******************************************************************************
93HRESULT WIN32API CoGetStandardMarshal(REFIID riid, IUnknown *pUnk, DWORD dwDestContext,
94 LPVOID pvDestContext, DWORD mshlflags,
95 LPMARSHAL *ppMarshal)
96{
97 dprintf(("OLE32: CoGetStandardMarshal - stub"));
98 return E_OUTOFMEMORY;
99}
100//*******************************************************************************
101//*******************************************************************************
102HRESULT WIN32API CoGetState()
103{
104 dprintf(("OLE32: CoGetState, UNKNOWN API - stub"));
105 return 0;
106}
107//*******************************************************************************
108//*******************************************************************************
109HRESULT WIN32API CoGetTreatAsClass(REFCLSID clsidOld, LPCLSID pclsidNew)
110{
111 dprintf(("OLE32: CoGetTreatAsClass - stub"));
112 return S_FALSE;
113}
114//*******************************************************************************
115//*******************************************************************************
116HRESULT WIN32API CoInitializeWOW()
117{
118 dprintf(("OLE32: CoInitializeWOW, UNKNOWN API - stub"));
119 return 0;
120}
121//*******************************************************************************
122//*******************************************************************************
123BOOL WIN32API CoIsHandlerConnected(LPUNKNOWN pUnk)
124{
125 dprintf(("OLE32: CoIsHandlerConnected - stub"));
126 return FALSE;
127}
128//*******************************************************************************
129//*******************************************************************************
130BOOL WIN32API CoIsOle1Class(REFCLSID rclsid)
131{
132 dprintf(("OLE32: CoIsOle1Class - stub"));
133 return S_FALSE;
134}
135//*******************************************************************************
136//*******************************************************************************
137HRESULT WIN32API CoMarshalHresult(IStream *pStm, HRESULT hresult)
138{
139 dprintf(("OLE32: CoMarshalHresult - stub"));
140 return E_OUTOFMEMORY;
141}
142//*******************************************************************************
143//*******************************************************************************
144HRESULT WIN32API CoMarshalInterThreadInterfaceInStream(REFIID riid,
145 LPUNKNOWN pUnk,
146 LPSTREAM *ppStm)
147{
148 dprintf(("OLE32: CoMarshalInterThreadInterfaceInStream - stub"));
149 return E_OUTOFMEMORY;
150}
151//*******************************************************************************
152//*******************************************************************************
153HRESULT WIN32API CoMarshalInterface(IStream *pStm, REFIID riid, IUnknown *pUnk,
154 DWORD dwDestContext, void *pvDestContext,
155 DWORD mshlflags)
156{
157 dprintf(("OLE32: CoMarshalInterface - stub"));
158 return E_OUTOFMEMORY;
159}
160//*******************************************************************************
161//*******************************************************************************
162HRESULT WIN32API CoQueryReleaseObject()
163{
164 dprintf(("OLE32: CoQueryReleaseObject, UNKNOWN API - stub"));
165 return 0;
166}
167//*******************************************************************************
168//*******************************************************************************
169HRESULT WIN32API CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy)
170{
171 dprintf(("OLE32: CoRegisterMallocSpy - stub"));
172 return CO_E_OBJISREG;
173}
174//*******************************************************************************
175//*******************************************************************************
176HRESULT WIN32API CoRegisterMessageFilter(LPMESSAGEFILTER lpMessageFilter,
177 LPMESSAGEFILTER *lplpMessageFilter)
178{
179 dprintf(("OLE32: CoRegisterMessageFilter - stub"));
180 if (lplpMessageFilter)
181 *lplpMessageFilter = NULL;
182 return S_FALSE;
183}
184//*******************************************************************************
185//*******************************************************************************
186HRESULT WIN32API CoReleaseMarshalData(IStream *pStm)
187{
188 dprintf(("OLE32: CoReleaseMarshalData - stub"));
189 return E_OUTOFMEMORY;
190}
191//*******************************************************************************
192//*******************************************************************************
193HRESULT WIN32API CoRevokeMallocSpy()
194{
195 dprintf(("OLE32: CoRevokeMallocSpy - stub"));
196 return E_ACCESSDENIED;
197}
198//*******************************************************************************
199//*******************************************************************************
200HRESULT WIN32API CoSetState(LPDWORD state)
201{
202 dprintf(("OLE32: CoSetState (%p),stub!\n", state));
203 if (state) *state = 0;
204 return S_OK;
205}
206
207//*******************************************************************************
208//*******************************************************************************
209HRESULT WIN32API CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew)
210{
211 dprintf(("OLE32: CoTreatAsClass - stub"));
212 return E_INVALIDARG;
213}
214//*******************************************************************************
215//*******************************************************************************
216void WIN32API CoUnloadingWOW()
217{
218 dprintf(("OLE32: CoUnloadingWOW, UNKNOWN API - stub"));
219 return ;
220}
221//*******************************************************************************
222//*******************************************************************************
223HRESULT WIN32API CoUnmarshalHresult(LPSTREAM pStm, HRESULT *phresult)
224{
225 dprintf(("OLE32: CoUnmarshalHresult - stub"));
226 return S_OK;
227}
228//*******************************************************************************
229//*******************************************************************************
230HRESULT WIN32API CoUnmarshalInterface(IStream *pSTm, REFIID riid, void **ppv)
231{
232 dprintf(("OLE32: CoUnmarshalInterface - stub"));
233 return S_OK;
234}
235
236//******************************************************************************
237//******************************************************************************
238HRESULT WIN32API BindMoniker(LPMONIKER pmk, DWORD grfOpt, REFIID iidResult,
239 LPVOID *ppvResult)
240{
241 dprintf(("OLE32: BindMoniker- stub"));
242 return MK_E_NOOBJECT;
243}
244//*******************************************************************************
245//*******************************************************************************
246HRESULT WIN32API CreatePointerMoniker(LPUNKNOWN punk, LPMONIKER *ppmk)
247{
248 dprintf(("OLE32: CreatePointerMoniker - stub"));
249 return E_OUTOFMEMORY;
250}
251//*******************************************************************************
252//*******************************************************************************
253HRESULT WIN32API EnableHookObject()
254{
255 dprintf(("OLE32: EnableHookObject, UNKNOWN API - stub"));
256 return 0;
257}
258//*******************************************************************************
259//*******************************************************************************
260HRESULT WIN32API GetConvertStg(IStorage *pStg)
261{
262 dprintf(("OLE32: GetConvertStg - stub"));
263 return STG_E_ACCESSDENIED;
264}
265//*******************************************************************************
266//*******************************************************************************
267HRESULT WIN32API GetDocumentBitStg()
268{
269 dprintf(("OLE32: GetDocumentBitStg, UNKNOWN API - stub"));
270 return 0;
271}
272//*******************************************************************************
273//*******************************************************************************
274HRESULT WIN32API GetHookInterface()
275{
276 dprintf(("OLE32: GetHookInterface, UNKNOWN API - stub"));
277 return 0;
278}
279//*******************************************************************************
280//*******************************************************************************
281BOOL WIN32API IsAccelerator(HACCEL hAccel, int cAccelEntries, struct tagMSG* lpMsg, WORD* lpwCmd)
282{
283 dprintf(("OLE32: IsAccelerator - stub"));
284 return FALSE;
285}
286//*******************************************************************************
287//*******************************************************************************
288HRESULT WIN32API IsValidIid(DWORD Iid)
289{
290 dprintf(("OLE32: IsValidIid, obsolete - stub"));
291 return E_INVALIDARG;
292}
293//*******************************************************************************
294//*******************************************************************************
295HRESULT WIN32API IsValidPtrIn(DWORD ptrIn)
296{
297 dprintf(("OLE32: IsValidPtrIn, obsolete - stub"));
298 return E_INVALIDARG;
299}
300//*******************************************************************************
301//*******************************************************************************
302HRESULT WIN32API IsValidPtrOut(DWORD ptrOut)
303{
304 dprintf(("OLE32: IsValidPtrOut, obsolete - stub"));
305 return E_INVALIDARG;
306}
307//*******************************************************************************
308//*******************************************************************************
309HRESULT WIN32API MkParseDisplayName(LPBC pbc, LPSTR szUserName, ULONG *lpchEaten,
310 LPMONIKER *ppmk)
311{
312 dprintf(("OLE32: MkParseDisplayName - stub"));
313 return E_OUTOFMEMORY;
314}
315//*******************************************************************************
316//*******************************************************************************
317HRESULT WIN32API MonikerRelativePathTo(LPMONIKER pmkSrc, LPMONIKER pmkDest,
318 LPMONIKER *ppmkRelPath, BOOL dwReserved )
319{
320 dprintf(("OLE32: MonikerRelativePathTo - stub"));
321 return E_OUTOFMEMORY;
322}
323//*******************************************************************************
324//*******************************************************************************
325HRESULT WIN32API OleConvertIStorageToOLESTREAMEx(LPSTORAGE pStg,
326 CLIPFORMAT ctFormat,
327 LONG lWidth,
328 LONG lHeight,
329 DWORD dwSize,
330 LPSTGMEDIUM pmedium,
331 LPOLESTREAM lpolestream)
332{
333 dprintf(("OLE32: OleConvertIStorageToOLESTREAMEx - stub"));
334 return(E_INVALIDARG);
335}
336//*******************************************************************************
337//*******************************************************************************
338HRESULT WIN32API OleConvertOLESTREAMToIStorageEx(LPOLESTREAM lpolestream,
339 LPSTORAGE pstg,
340 CLIPFORMAT * ctFormat,
341 LONG * plWidth,
342 LONG * plHeight,
343 DWORD * pdwSize,
344 LPSTGMEDIUM pmedium)
345{
346 dprintf(("OLE32: OleConvertOLESTREAMToIStorageEx - stub"));
347 return(E_OUTOFMEMORY);
348}
349//*******************************************************************************
350//*******************************************************************************
351HRESULT WIN32API OleCreate(REFCLSID rclsid, REFIID riid, DWORD renderopt,
352 FORMATETC *pFormatEtc, IOleClientSite *pClientSite,
353 IStorage *pStg, void **ppvObject)
354{
355 dprintf(("OLE32: OleCreate - stub"));
356 return(E_OUTOFMEMORY);
357}
358//*******************************************************************************
359//*******************************************************************************
360HRESULT WIN32API OleCreateEmbeddingHelper(REFCLSID clsid, LPUNKNOWN pUnkOuter,
361 DWORD flags, LPCLASSFACTORY pCF,
362 REFIID riid, LPVOID *ppvObj)
363{
364 dprintf(("OLE32: OleCreateEmbeddingHelper - stub"));
365 return(E_OUTOFMEMORY);
366}
367//*******************************************************************************
368//*******************************************************************************
369HRESULT WIN32API OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName,
370 REFIID riid,
371 DWORD renderopt, LPFORMATETC pFormatEtc,
372 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
373 LPVOID *ppvObj)
374{
375 dprintf(("OLE32: OleCreateFromFile - stub"));
376 return(E_OUTOFMEMORY);
377}
378//*******************************************************************************
379//*******************************************************************************
380HRESULT WIN32API OleCreateLink(LPMONIKER lpmkLinkSrc, REFIID riid,
381 DWORD renderopt, LPFORMATETC pFormatEtc,
382 LPOLECLIENTSITE lpClientSite, LPSTORAGE pStg,
383 LPVOID *ppvObj)
384{
385 dprintf(("OLE32: OleCreateLink - stub"));
386 return(E_OUTOFMEMORY);
387}
388//*******************************************************************************
389//*******************************************************************************
390HRESULT WIN32API OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
391 DWORD renderopt, LPFORMATETC pFormatEtc,
392 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
393 LPVOID *ppvObj)
394{
395 dprintf(("OLE32: OleCreateLinkFromData - stub"));
396 return(E_OUTOFMEMORY);
397}
398//*******************************************************************************
399//*******************************************************************************
400HRESULT WIN32API OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid, DWORD renderopt,
401 LPFORMATETC pFormatEtc, IOleClientSite *pClientSite,
402 IStorage *pStg, void **ppvObj)
403{
404 dprintf(("OLE32: OleCreateLinkToFile - stub"));
405 return(STG_E_FILENOTFOUND);
406}
407//*******************************************************************************
408//*******************************************************************************
409HRESULT WIN32API OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
410 DWORD renderopt, LPFORMATETC pFormatEtc,
411 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
412 LPVOID *ppvObj)
413{
414 dprintf(("OLE32: OleCreateStaticFromData - stub"));
415 return(E_OUTOFMEMORY);
416}
417//*******************************************************************************
418//*******************************************************************************
419HRESULT WIN32API OleDoAutoConvert(IStorage *pStg, LPCLSID pClsidNew)
420{
421 dprintf(("OLE32: OleDoAutoConvert - stub"));
422 return(E_OUTOFMEMORY);
423}
424//*******************************************************************************
425//*******************************************************************************
426HRESULT WIN32API OleDraw(IUnknown *pUnk, DWORD dwAspect, HDC hdcDraw,
427 LPCRECT lprcBounds)
428{
429 dprintf(("OLE32: OleDraw - stub"));
430 return(E_INVALIDARG);
431}
432//*******************************************************************************
433//*******************************************************************************
434HRESULT WIN32API OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat, UINT uiFlags)
435{
436 dprintf(("OLE32: OleDuplicateData - stub"));
437 return(NULL);
438}
439//*******************************************************************************
440//*******************************************************************************
441HRESULT WIN32API OleGetAutoConvert(REFCLSID clsidOld, LPCLSID pClsidNew)
442{
443 dprintf(("OLE32: OleGetAutoConvert - stub"));
444 return(E_OUTOFMEMORY);
445}
446//*******************************************************************************
447//*******************************************************************************
448HGLOBAL WIN32API OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
449{
450 dprintf(("OLE32: OleGetIconOfClass - stub"));
451 return(NULL);
452}
453//*******************************************************************************
454//*******************************************************************************
455HGLOBAL WIN32API OleGetIconOfFile(LPOLESTR lpszPath, BOOL fUseTypeAsLabel)
456{
457 dprintf(("OLE32: OleGetIconOfFile - stub"));
458 return(NULL);
459}
460//*******************************************************************************
461//*******************************************************************************
462HRESULT WIN32API OleInitializeWOW()
463{
464 dprintf(("OLE32: OleInitializeWOW, UNKNOWN API - stub"));
465 return(E_OUTOFMEMORY);
466}
467//*******************************************************************************
468//*******************************************************************************
469BOOL WIN32API OleIsRunning(LPOLEOBJECT pObject)
470{
471 dprintf(("OLE32: OleIsRunning - stub"));
472 return(FALSE);
473}
474//*******************************************************************************
475//*******************************************************************************
476HRESULT WIN32API OleLockRunning(LPUNKNOWN pUnknown, BOOL fLock, BOOL fLastUnlockCloses)
477{
478 dprintf(("OLE32: OleLockRunning - stub"));
479 return(E_OUTOFMEMORY);
480}
481//*******************************************************************************
482//*******************************************************************************
483HGLOBAL WIN32API OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel,
484 LPOLESTR lpszSourceFile,
485 UINT iIconIndex)
486{
487 dprintf(("OLE32: OleMetafilePictFromIconAndLabel - stub"));
488 return(NULL);
489}
490//*******************************************************************************
491//*******************************************************************************
492HRESULT WIN32API OleNoteObjectVisible(LPUNKNOWN pUnknown, BOOL fVisible)
493{
494 dprintf(("OLE32: OleNoteObjectVisible - stub"));
495 return(E_OUTOFMEMORY);
496}
497//*******************************************************************************
498//*******************************************************************************
499HRESULT WIN32API OleQueryLinkFromData(IDataObject *pSrcDataObject)
500{
501 dprintf(("OLE32: OleQueryLinkFromData - stub"));
502 return(S_FALSE);
503}
504//*******************************************************************************
505//*******************************************************************************
506HRESULT WIN32API OleRegEnumFormatEtc(REFCLSID clsid, DWORD dwDirection,
507 LPENUMFORMATETC *ppenumFormatetc)
508{
509 dprintf(("OLE32: OleRegEnumFormatEtc - stub"));
510 return(E_OUTOFMEMORY);
511}
512//*******************************************************************************
513//*******************************************************************************
514HRESULT WIN32API OleRegEnumVerbs(REFCLSID clsid, LPENUMOLEVERB *ppenumOleVerb)
515{
516 dprintf(("OLE32: OleRegEnumVerbs - stub"));
517 return(E_OUTOFMEMORY);
518}
519//*******************************************************************************
520//*******************************************************************************
521HRESULT WIN32API OleRun(LPUNKNOWN pUnknown)
522{
523 dprintf(("OLE32: OleRun - stub"));
524 return(E_UNEXPECTED);
525}
526//*******************************************************************************
527//*******************************************************************************
528HRESULT WIN32API OleSetAutoConvert(REFCLSID clsidOld, REFCLSID clsidNew)
529{
530 dprintf(("OLE32: OleSetAutoConvert - stub"));
531 return(E_OUTOFMEMORY);
532}
533//*******************************************************************************
534//*******************************************************************************
535HRESULT WIN32API OleTranslateAccelerator
536 (LPOLEINPLACEFRAME lpFrame,
537 LPOLEINPLACEFRAMEINFO lpFrameInfo,
538 struct tagMSG * lpmsg)
539{
540 dprintf(("OLE32: OleTranslateAccelerator - stub"));
541 return(S_FALSE);
542}
543//*******************************************************************************
544//*******************************************************************************
545HRESULT WIN32API OpenOrCreateStream()
546{
547 dprintf(("OLE32: OpenOrCreateStream, UNKNOWN API - stub"));
548 return(E_OUTOFMEMORY);
549}
550//*******************************************************************************
551//*******************************************************************************
552HRESULT WIN32API ReadFmtUserTypeStg(IStorage *pStg, CLIPFORMAT *pcf,
553 LPWSTR *lplpszUserType)
554{
555 dprintf(("OLE32: ReadFmtUserTypeStg - stub"));
556 return(E_OUTOFMEMORY);
557}
558//*******************************************************************************
559//*******************************************************************************
560HRESULT WIN32API ReadOleStg()
561{
562 dprintf(("OLE32: ReadOleStg, UNKNOWN API - stub"));
563 return(E_OUTOFMEMORY);
564}
565//*******************************************************************************
566//*******************************************************************************
567HRESULT WIN32API ReadStringStream()
568{
569 dprintf(("OLE32: ReadStringStream, UNKNOWN API - stub"));
570 return(E_OUTOFMEMORY);
571}
572//*******************************************************************************
573//*******************************************************************************
574HRESULT WIN32API SetConvertStg(IStorage *pStg, BOOL fConvert)
575{
576 dprintf(("OLE32: SetConvertStg - stub"));
577 return(E_OUTOFMEMORY);
578}
579//*******************************************************************************
580//*******************************************************************************
581HRESULT WIN32API SetDocumentBitStg()
582{
583 dprintf(("OLE32: SetDocumentBitStg, UNKNOWN API - stub"));
584 return(E_OUTOFMEMORY);
585}
586//*******************************************************************************
587//*******************************************************************************
588HRESULT WIN32API StgSetTimes(WCHAR const *lpszName, FILETIME const *pctime,
589 FILETIME const *patime, FILETIME const *pmtime)
590{
591 dprintf(("OLE32: StgSetTimes - stub"));
592 return(STG_E_FILENOTFOUND);
593}
594//*******************************************************************************
595//*******************************************************************************
596HRESULT WIN32API UtConvertDvtd16toDvtd32()
597{
598 dprintf(("OLE32: UtConvertDvtd16toDvtd32, UNKNOWN API - stub"));
599 return(E_OUTOFMEMORY);
600}
601//*******************************************************************************
602//*******************************************************************************
603HRESULT WIN32API UtConvertDvtd32toDvtd16()
604{
605 dprintf(("OLE32: UtConvertDvtd32toDvtd16, UNKNOWN API - stub"));
606 return(E_OUTOFMEMORY);
607}
608//*******************************************************************************
609//*******************************************************************************
610HRESULT WIN32API UtGetDvtd16Info()
611{
612 dprintf(("OLE32: UtGetDvtd16Info, UNKNOWN API - stub"));
613 return(E_OUTOFMEMORY);
614}
615//*******************************************************************************
616//*******************************************************************************
617HRESULT WIN32API UtGetDvtd32Info()
618{
619 dprintf(("OLE32: UtGetDvtd32Info, UNKNOWN API - stub"));
620 return(E_OUTOFMEMORY);
621}
622
623//*******************************************************************************
624//*******************************************************************************
625HRESULT WIN32API WriteFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType)
626{
627 dprintf(("OLE32: WriteFmtUserTypeStg - stub"));
628 return(STG_E_MEDIUMFULL);
629}
630//*******************************************************************************
631//*******************************************************************************
632HRESULT WIN32API WriteOleStg()
633{
634 dprintf(("OLE32: WriteOleStg, UNKNOWN API - stub"));
635 return(E_OUTOFMEMORY);
636}
637//*******************************************************************************
638//*******************************************************************************
639HRESULT WIN32API WriteStringStream()
640{
641 dprintf(("OLE32: WriteStringStream, UNKNOWN API - stub"));
642 return(E_OUTOFMEMORY);
643}
644//*******************************************************************************
645//*******************************************************************************
646
647HRESULT WIN32API CoImpersonateClient() // DCOM - obj_clientserver.h
648{
649 dprintf(("OLE32: CoImpersonateClient - Stub"));
650 return(S_OK);
651}
652
653//*******************************************************************************
654//*******************************************************************************
655HRESULT WIN32API CoInitializeSecurity( // DCOM - obj_clientserver.h
656 PSECURITY_DESCRIPTOR pSecDesc,
657 LONG cAuthSvc,
658 SOLE_AUTHENTICATION_SERVICE *asAuthSvc,
659 void *pReserved1,
660 DWORD dwAuthnLevel,
661 DWORD dwImpLevel,
662 void *pReserved2,
663 DWORD dwCapabilities,
664 void *pReserved3 )
665{
666 dprintf(("OLE32: CoInitializeSecurity - Stub"));
667 return(S_OK);
668}
669
670//*******************************************************************************
671//*******************************************************************************
672HRESULT WIN32API CoRegisterSurrogate(LPSURROGATE pSurrogate) // NT4 SP2, Win95b+
673{
674 dprintf(("OLE32: CoRegisterSurrogate - Stub"));
675 return(S_OK);
676}
677
Note: See TracBrowser for help on using the repository browser.