ReactOS  0.4.14-dev-115-g4576127
olecli_main.c File Reference
#include "config.h"
#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 79 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 186 of file olecli_main.c.

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

◆ OleCreateLinkFromClip()

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

Definition at line 129 of file olecli_main.c.

132  {
133  FIXME("(%s,%p,%08x,%s,%p,%d,%d): stub!\n",
134  name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
135  return OLE_OK;
136 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: olecli.h:23
static void render(void)
Definition: ssstars.c:272
Definition: name.c:36

◆ OleIsDcMeta()

BOOL WINAPI OleIsDcMeta ( HDC  hdc)

Definition at line 157 of file olecli_main.c.

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

◆ OleQueryCreateFromClip()

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

Definition at line 149 of file olecli_main.c.

149  {
150  FIXME("(%s,%d,%d): stub!\n",name,render,clipformat);
151  return OLE_OK;
152 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: olecli.h:23
static void render(void)
Definition: ssstars.c:272
Definition: name.c:36

◆ OleQueryLinkFromClip()

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

Definition at line 141 of file olecli_main.c.

141  {
142  FIXME("(%s,%d,%d): stub!\n",name,render,clipformat);
143  return OLE_OK;
144 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: olecli.h:23
static void render(void)
Definition: ssstars.c:272
Definition: name.c:36

◆ OleQueryType()

OLESTATUS WINAPI OleQueryType ( _LPOLEOBJECT  oleob,
LONG xlong 
)

Definition at line 174 of file olecli_main.c.

174  {
175  FIXME("(%p,%p): stub!\n",oleob,xlong);
176  if (!oleob)
177  return 0x10;
178  TRACE("Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
179  oleob->lpvtbl->QueryType,oleob,xlong);
180  return oleob->lpvtbl->QueryType(oleob,xlong);
181 }
const OLEOBJECTVTBL * lpvtbl
Definition: olecli_main.c:83
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4

◆ OleRegisterClientDoc()

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

Definition at line 100 of file olecli_main.c.

102 {
103  FIXME("(%s,%s,...): stub\n",classname,docname);
104  *hRet=++OLE_current_handle;
105  return OLE_OK;
106 }
WCHAR classname[128]
Definition: startup.c:15
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: olecli.h:23
static LONG OLE_current_handle
Definition: olecli_main.c:86

◆ OleRenameClientDoc()

OLESTATUS WINAPI OleRenameClientDoc ( LHCLIENTDOC  hDoc,
LPCSTR  newName 
)

Definition at line 111 of file olecli_main.c.

112 {
113  FIXME("(%d,%s,...): stub\n",hDoc, newName);
114  return OLE_OK;
115 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: olecli.h:23

◆ OleRevokeClientDoc()

OLESTATUS WINAPI OleRevokeClientDoc ( LHCLIENTDOC  hServerDoc)

Definition at line 120 of file olecli_main.c.

121 {
122  FIXME("(%d): stub\n",hServerDoc);
123  return OLE_OK;
124 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: olecli.h:23

◆ OleSavedClientDoc()

OLESTATUS WINAPI OleSavedClientDoc ( LHCLIENTDOC  hDoc)

Definition at line 91 of file olecli_main.c.

92 {
93  FIXME("(%d: stub\n", hDoc);
94  return OLE_OK;
95 }
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: olecli.h:23

◆ OleSetHostNames()

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

Definition at line 166 of file olecli_main.c.

166  {
167  FIXME("(%p,%s,%s): stub\n",oleob,name1,name2);
168  return OLE_OK;
169 }
static WCHAR name1[]
Definition: record.c:34
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: olecli.h:23
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 86 of file olecli_main.c.

Referenced by OleRegisterClientDoc().