| 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 | * OleRegisterServer [OLESVR32.2]
|
|---|
| 21 | */
|
|---|
| 22 | OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu)
|
|---|
| 23 | {
|
|---|
| 24 | #ifdef DEBUG
|
|---|
| 25 | dprintf(("OLESVR32: OleRegisterServer not implemented\n"));
|
|---|
| 26 | #endif
|
|---|
| 27 | *hRet=++OLE_current_handle;
|
|---|
| 28 | return OLE_OK;
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | /******************************************************************************
|
|---|
| 32 | * OleRevokeServer [OLESVR32.3]
|
|---|
| 33 | */
|
|---|
| 34 | OLESTATUS WINAPI OleRevokeServer(LHSERVER hServer)
|
|---|
| 35 | {
|
|---|
| 36 | #ifdef DEBUG
|
|---|
| 37 | dprintf(("OLESVR32: OleRevokeServer not implemented\n"));
|
|---|
| 38 | #endif
|
|---|
| 39 | return OLE_OK;
|
|---|
| 40 | }
|
|---|
| 41 |
|
|---|
| 42 | /******************************************************************************
|
|---|
| 43 | * OleBlockServer [OLESVR32.4]
|
|---|
| 44 | */
|
|---|
| 45 | OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
|
|---|
| 46 | {
|
|---|
| 47 | #ifdef DEBUG
|
|---|
| 48 | dprintf(("OLESVR32: OleBlockServer not implemented\n"));
|
|---|
| 49 | #endif
|
|---|
| 50 | return OLE_OK;
|
|---|
| 51 | }
|
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 | /******************************************************************************
|
|---|
| 55 | * OleUnblockServer [OLESVR32.5]
|
|---|
| 56 | */
|
|---|
| 57 | OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
|
|---|
| 58 | {
|
|---|
| 59 | #ifdef DEBUG
|
|---|
| 60 | dprintf(("OLESVR32: OleUnblockServer not implemented\n"));
|
|---|
| 61 | #endif
|
|---|
| 62 | *block=FALSE;
|
|---|
| 63 | return OLE_OK;
|
|---|
| 64 | }
|
|---|
| 65 |
|
|---|
| 66 | /******************************************************************************
|
|---|
| 67 | * OleRegisterServerDoc [OLESVR32.6]
|
|---|
| 68 | */
|
|---|
| 69 | INT WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
|
|---|
| 70 | LPOLESERVERDOC document,
|
|---|
| 71 | LHSERVERDOC *hRet)
|
|---|
| 72 | {
|
|---|
| 73 | #ifdef DEBUG
|
|---|
| 74 | dprintf(("OLESVR32: OleRegisterServerDoc not implemented\n"));
|
|---|
| 75 | #endif
|
|---|
| 76 | *hRet=++OLE_current_handle;
|
|---|
| 77 | return OLE_OK;
|
|---|
| 78 | }
|
|---|
| 79 |
|
|---|
| 80 | /******************************************************************************
|
|---|
| 81 | * OleRevokeServerDoc [OLESVR32.7]
|
|---|
| 82 | */
|
|---|
| 83 | OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
|
|---|
| 84 | {
|
|---|
| 85 | #ifdef DEBUG
|
|---|
| 86 | dprintf(("OLESVR32: OleRevokeServerDoc not implemented\n"));
|
|---|
| 87 | #endif
|
|---|
| 88 | return OLE_OK;
|
|---|
| 89 | }
|
|---|
| 90 |
|
|---|
| 91 | /******************************************************************************
|
|---|
| 92 | * OleRenameServerDoc [OLESVR32.8]
|
|---|
| 93 | */
|
|---|
| 94 | OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
|
|---|
| 95 | {
|
|---|
| 96 | #ifdef DEBUG
|
|---|
| 97 | dprintf(("OLESVR32: OleRenameServerDoc not implemented\n"));
|
|---|
| 98 | #endif
|
|---|
| 99 | return OLE_OK;
|
|---|
| 100 | }
|
|---|
| 101 |
|
|---|
| 102 | /******************************************************************************
|
|---|
| 103 | * OleRevertServerDoc [OLESVR32.9]
|
|---|
| 104 | */
|
|---|
| 105 | OLESTATUS WINAPI OleRevertServerDoc(LHSERVERDOC hDoc)
|
|---|
| 106 | {
|
|---|
| 107 | #ifdef DEBUG
|
|---|
| 108 | dprintf(("OLESVR32: OleRevertServerDoc not implemented\n"));
|
|---|
| 109 | #endif
|
|---|
| 110 | return OLE_OK;
|
|---|
| 111 | }
|
|---|
| 112 |
|
|---|
| 113 | /******************************************************************************
|
|---|
| 114 | * OleSavedServerDoc [OLESVR32.10]
|
|---|
| 115 | */
|
|---|
| 116 | OLESTATUS WINAPI OleSavedServerDoc(LHSERVERDOC hDoc)
|
|---|
| 117 | {
|
|---|
| 118 | #ifdef DEBUG
|
|---|
| 119 | dprintf(("OLESVR32: OleSavedServerDoc not implemented\n"));
|
|---|
| 120 | #endif
|
|---|
| 121 | return OLE_OK;
|
|---|
| 122 | }
|
|---|
| 123 |
|
|---|
| 124 | /******************************************************************************
|
|---|
| 125 | * OleRevokeObject [OLESVR32.11]
|
|---|
| 126 | */
|
|---|
| 127 | OLESTATUS WINAPI OleRevokeObject(LPOLECLIENT oClient)
|
|---|
| 128 | {
|
|---|
| 129 | #ifdef DEBUG
|
|---|
| 130 | dprintf(("OLESVR32: OleRevokeObject not implemented\n"));
|
|---|
| 131 | #endif
|
|---|
| 132 | return OLE_OK;
|
|---|
| 133 | }
|
|---|
| 134 |
|
|---|
| 135 | /******************************************************************************
|
|---|
| 136 | * OleQueryServerVersion[OLESVR32.12]
|
|---|
| 137 | */
|
|---|
| 138 | DWORD WINAPI OleQueryServerVersion(void)
|
|---|
| 139 | {
|
|---|
| 140 | #ifdef DEBUG
|
|---|
| 141 | dprintf(("OLESVR32: OleQueryServerVersion not implemented\n"));
|
|---|
| 142 | #endif
|
|---|
| 143 | return OLE_OK;
|
|---|
| 144 | }
|
|---|