| 1 | /*
|
|---|
| 2 | * OLESVR32 library
|
|---|
| 3 | *
|
|---|
| 4 | * Copyright 1995 Martin von Loewis
|
|---|
| 5 | * Copyright 1999 Jens Wiessner
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | /* At the moment, these are only empty stubs.
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | #include <os2win.h>
|
|---|
| 12 | #include <ole.h>
|
|---|
| 13 | #include "olesvr32.h"
|
|---|
| 14 | #include "debugtools.h"
|
|---|
| 15 | #include <debugdefs.h>
|
|---|
| 16 |
|
|---|
| 17 | DEFAULT_DEBUG_CHANNEL(ole)
|
|---|
| 18 |
|
|---|
| 19 | /******************************************************************************
|
|---|
| 20 | * OleRegisterServer32 [OLESVR32.2]
|
|---|
| 21 | */
|
|---|
| 22 | OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu) {
|
|---|
| 23 | FIXME("(%s,%p,%p,%08x,%d): stub!\n",svrname,olesvr,hRet,hinst,osu);
|
|---|
| 24 | *hRet=++OLE_current_handle;
|
|---|
| 25 | return OLE_OK;
|
|---|
| 26 | }
|
|---|
| 27 |
|
|---|
| 28 | /******************************************************************************
|
|---|
| 29 | * OleRevokeServer32 [OLESVR32.3]
|
|---|
| 30 | */
|
|---|
| 31 | OLESTATUS WINAPI OleRevokeServer(LHSERVER hServer)
|
|---|
| 32 | {
|
|---|
| 33 | FIXME("%ld - stub\n",hServer);
|
|---|
| 34 | return OLE_OK;
|
|---|
| 35 | }
|
|---|
| 36 |
|
|---|
| 37 | /******************************************************************************
|
|---|
| 38 | * OleBlockServer32 [OLESVR32.4]
|
|---|
| 39 | */
|
|---|
| 40 | OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
|
|---|
| 41 | {
|
|---|
| 42 | FIXME("(%ld): stub\n",hServer);
|
|---|
| 43 | return OLE_OK;
|
|---|
| 44 | }
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 | /******************************************************************************
|
|---|
| 48 | * OleUnblockServer32 [OLESVR32.5]
|
|---|
| 49 | */
|
|---|
| 50 | OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
|
|---|
| 51 | {
|
|---|
| 52 | FIXME("(%ld): stub\n",hServer);
|
|---|
| 53 | /* no more blocked messages :) */
|
|---|
| 54 | *block=FALSE;
|
|---|
| 55 | return OLE_OK;
|
|---|
| 56 | }
|
|---|
| 57 |
|
|---|
| 58 | /******************************************************************************
|
|---|
| 59 | * OleRegisterServerDoc32 [OLESVR32.6]
|
|---|
| 60 | */
|
|---|
| 61 | INT WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
|
|---|
| 62 | LPOLESERVERDOC document,
|
|---|
| 63 | LHSERVERDOC *hRet)
|
|---|
| 64 | {
|
|---|
| 65 | FIXME("(%ld,%s): stub\n", hServer, docname);
|
|---|
| 66 | *hRet=++OLE_current_handle;
|
|---|
| 67 | return OLE_OK;
|
|---|
| 68 | }
|
|---|
| 69 |
|
|---|
| 70 | /******************************************************************************
|
|---|
| 71 | * OleRevokeServerDoc32 [OLESVR32.7]
|
|---|
| 72 | */
|
|---|
| 73 | OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
|
|---|
| 74 | {
|
|---|
| 75 | FIXME("(%ld): stub\n",hServerDoc);
|
|---|
| 76 | return OLE_OK;
|
|---|
| 77 | }
|
|---|
| 78 |
|
|---|
| 79 | /******************************************************************************
|
|---|
| 80 | * OleRenameServerDoc32 [OLESVR32.8]
|
|---|
| 81 | *
|
|---|
| 82 | */
|
|---|
| 83 | OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
|
|---|
| 84 | {
|
|---|
| 85 | FIXME("(%ld,%s): stub.\n",hDoc, newName);
|
|---|
| 86 | return OLE_OK;
|
|---|
| 87 | }
|
|---|
| 88 |
|
|---|
| 89 | /******************************************************************************
|
|---|
| 90 | * OleRevertServerDoc [OLESVR32.9]
|
|---|
| 91 | *
|
|---|
| 92 | */
|
|---|
| 93 | OLESTATUS WINAPI OleRevertServerDoc(LHSERVERDOC hDoc)
|
|---|
| 94 | {
|
|---|
| 95 | FIXME("(%ld): stub\n",hDoc);
|
|---|
| 96 | return OLE_OK;
|
|---|
| 97 | }
|
|---|
| 98 |
|
|---|
| 99 | /******************************************************************************
|
|---|
| 100 | * OleSavedServerDoc [OLESVR32.10]
|
|---|
| 101 | *
|
|---|
| 102 | */
|
|---|
| 103 | OLESTATUS WINAPI OleSavedServerDoc(LHSERVERDOC hDoc)
|
|---|
| 104 | {
|
|---|
| 105 | FIXME("(%ld): stub\n",hDoc);
|
|---|
| 106 | return OLE_OK;
|
|---|
| 107 | }
|
|---|
| 108 |
|
|---|
| 109 | /******************************************************************************
|
|---|
| 110 | * OleRevokeObject [OLESVR32.11]
|
|---|
| 111 | *
|
|---|
| 112 | */
|
|---|
| 113 | OLESTATUS WINAPI OleRevokeObject(LPOLECLIENT oClient)
|
|---|
| 114 | {
|
|---|
| 115 | FIXME("(%ld): stub\n",oClient);
|
|---|
| 116 | return OLE_OK;
|
|---|
| 117 | }
|
|---|
| 118 |
|
|---|
| 119 | /******************************************************************************
|
|---|
| 120 | * OleQueryServerVersion [OLESVR32.12]
|
|---|
| 121 | *
|
|---|
| 122 | */
|
|---|
| 123 | DWORD WINAPI OleQueryServerVersion(void)
|
|---|
| 124 | {
|
|---|
| 125 | return OLE_OK;
|
|---|
| 126 | }
|
|---|