ReactOS 0.4.16-dev-125-g798ea90
olecli_main.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "wine/windef16.h"
#include "winbase.h"
#include "wingdi.h"
#include "wownt32.h"
#include "objbase.h"
#include "olecli.h"
#include "wine/debug.h"
Include dependency graph for olecli_main.c:

Go to the source code of this file.

Classes

struct  _OLEOBJECTVTBL
 
struct  _OLEOBJECT
 

Typedefs

typedef struct _OLEOBJECTVTBL OLEOBJECTVTBL
 
typedef OLEOBJECTVTBLLPOLEOBJECTVTBL
 
typedef struct _OLEOBJECT OLEOBJECT
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ole)
 
OLESTATUS WINAPI OleSavedClientDoc (LHCLIENTDOC hDoc)
 
OLESTATUS WINAPI OleRegisterClientDoc (LPCSTR classname, LPCSTR docname, LONG reserved, LHCLIENTDOC *hRet)
 
OLESTATUS WINAPI OleRenameClientDoc (LHCLIENTDOC hDoc, LPCSTR newName)
 
OLESTATUS WINAPI OleRevokeClientDoc (LHCLIENTDOC hServerDoc)
 
OLESTATUS WINAPI OleCreateLinkFromClip (LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname, _LPOLEOBJECT *lpoleob, OLEOPT_RENDER render, OLECLIPFORMAT clipformat)
 
OLESTATUS WINAPI OleQueryLinkFromClip (LPCSTR name, OLEOPT_RENDER render, OLECLIPFORMAT clipformat)
 
OLESTATUS WINAPI OleQueryCreateFromClip (LPCSTR name, OLEOPT_RENDER render, OLECLIPFORMAT clipformat)
 
BOOL WINAPI OleIsDcMeta (HDC hdc)
 
OLESTATUS WINAPI OleSetHostNames (_LPOLEOBJECT oleob, LPCSTR name1, LPCSTR name2)
 
OLESTATUS WINAPI OleQueryType (_LPOLEOBJECT oleob, LONG *xlong)
 
OLESTATUS WINAPI OleCreateFromClip (LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname, _LPOLEOBJECT *lpoleob, OLEOPT_RENDER render, OLECLIPFORMAT clipformat)
 

Variables

static LONG OLE_current_handle
 

Typedef Documentation

◆ LPOLEOBJECTVTBL

Definition at line 77 of file olecli_main.c.

◆ OLEOBJECT

◆ OLEOBJECTVTBL

Function Documentation

◆ OleCreateFromClip()

OLESTATUS WINAPI OleCreateFromClip ( LPCSTR  name,
LPOLECLIENT  olecli,
LHCLIENTDOC  hclientdoc,
LPCSTR  xname,
_LPOLEOBJECT lpoleob,
OLEOPT_RENDER  render,
OLECLIPFORMAT  clipformat 
)

Definition at line 184 of file olecli_main.c.

187 {
188 FIXME("(%s,%p,%08x,%s,%p,%d,%d): stub!\n",
189 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
190 /* clipb type, object kreieren entsprechend etc. */
191 return OLE_OK;
192}
#define FIXME(fmt,...)
Definition: precomp.h:53
@ OLE_OK
Definition: olecli.h:23
static void render(void)
Definition: ssstars.c:272
Definition: name.c:39

◆ OleCreateLinkFromClip()

OLESTATUS WINAPI OleCreateLinkFromClip ( LPCSTR  name,
LPOLECLIENT  olecli,
LHCLIENTDOC  hclientdoc,
LPCSTR  xname,
_LPOLEOBJECT lpoleob,
OLEOPT_RENDER  render,
OLECLIPFORMAT  clipformat 
)

Definition at line 127 of file olecli_main.c.

130 {
131 FIXME("(%s,%p,%08x,%s,%p,%d,%d): stub!\n",
132 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
133 return OLE_OK;
134}

◆ OleIsDcMeta()

BOOL WINAPI OleIsDcMeta ( HDC  hdc)

Definition at line 155 of file olecli_main.c.

156{
157 TRACE("(%p)\n",hdc);
158 return GetObjectType( hdc ) == OBJ_METADC;
159}
static POBJECT_TYPE GetObjectType(IN PCWSTR TypeName)
Definition: ObTypes.c:15
HDC hdc
Definition: main.c:9
#define OBJ_METADC
Definition: objidl.idl:1412
#define TRACE(s)
Definition: solgame.cpp:4

◆ OleQueryCreateFromClip()

OLESTATUS WINAPI OleQueryCreateFromClip ( LPCSTR  name,
OLEOPT_RENDER  render,
OLECLIPFORMAT  clipformat 
)

Definition at line 147 of file olecli_main.c.

147 {
148 FIXME("(%s,%d,%d): stub!\n",name,render,clipformat);
149 return OLE_OK;
150}

◆ OleQueryLinkFromClip()

OLESTATUS WINAPI OleQueryLinkFromClip ( LPCSTR  name,
OLEOPT_RENDER  render,
OLECLIPFORMAT  clipformat 
)

Definition at line 139 of file olecli_main.c.

139 {
140 FIXME("(%s,%d,%d): stub!\n",name,render,clipformat);
141 return OLE_OK;
142}

◆ OleQueryType()

OLESTATUS WINAPI OleQueryType ( _LPOLEOBJECT  oleob,
LONG xlong 
)

Definition at line 172 of file olecli_main.c.

172 {
173 FIXME("(%p,%p): stub!\n",oleob,xlong);
174 if (!oleob)
175 return 0x10;
176 TRACE("Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
177 oleob->lpvtbl->QueryType,oleob,xlong);
178 return oleob->lpvtbl->QueryType(oleob,xlong);
179}
const OLEOBJECTVTBL * lpvtbl
Definition: olecli_main.c:81

◆ OleRegisterClientDoc()

OLESTATUS WINAPI OleRegisterClientDoc ( LPCSTR  classname,
LPCSTR  docname,
LONG  reserved,
LHCLIENTDOC hRet 
)

Definition at line 98 of file olecli_main.c.

100{
101 FIXME("(%s,%s,...): stub\n",classname,docname);
102 *hRet=++OLE_current_handle;
103 return OLE_OK;
104}
static LONG OLE_current_handle
Definition: olecli_main.c:84
WCHAR classname[128]
Definition: startup.c:15

◆ OleRenameClientDoc()

OLESTATUS WINAPI OleRenameClientDoc ( LHCLIENTDOC  hDoc,
LPCSTR  newName 
)

Definition at line 109 of file olecli_main.c.

110{
111 FIXME("(%d,%s,...): stub\n",hDoc, newName);
112 return OLE_OK;
113}

◆ OleRevokeClientDoc()

OLESTATUS WINAPI OleRevokeClientDoc ( LHCLIENTDOC  hServerDoc)

Definition at line 118 of file olecli_main.c.

119{
120 FIXME("(%d): stub\n",hServerDoc);
121 return OLE_OK;
122}

◆ OleSavedClientDoc()

OLESTATUS WINAPI OleSavedClientDoc ( LHCLIENTDOC  hDoc)

Definition at line 89 of file olecli_main.c.

90{
91 FIXME("(%d: stub\n", hDoc);
92 return OLE_OK;
93}

◆ OleSetHostNames()

OLESTATUS WINAPI OleSetHostNames ( _LPOLEOBJECT  oleob,
LPCSTR  name1,
LPCSTR  name2 
)

Definition at line 164 of file olecli_main.c.

164 {
165 FIXME("(%p,%s,%s): stub\n",oleob,name1,name2);
166 return OLE_OK;
167}
static WCHAR name1[]
Definition: record.c:34
static WCHAR name2[]
Definition: record.c:35

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( ole  )

Variable Documentation

◆ OLE_current_handle

LONG OLE_current_handle
static

Definition at line 84 of file olecli_main.c.

Referenced by OleRegisterClientDoc().