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