Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
18aacf15
Commit
18aacf15
authored
Jan 23, 1999
by
Sylvain St.Germain
Committed by
Alexandre Julliard
Jan 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DoDragDrop and OleIsCurrentClipboard stub implementation.
parent
4f85ca44
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
2 deletions
+36
-2
winerror.h
include/winerror.h
+4
-0
ole2.c
ole/ole2.c
+15
-0
olecli.c
ole/olecli.c
+15
-0
ole32.spec
relay32/ole32.spec
+2
-2
No files found.
include/winerror.h
View file @
18aacf15
...
@@ -154,6 +154,10 @@ extern int WIN32_LastError;
...
@@ -154,6 +154,10 @@ extern int WIN32_LastError;
#define DISP_E_TYPEMISMATCH 0x80020005L
#define DISP_E_TYPEMISMATCH 0x80020005L
/* Drag and Drop */
#define DRAGDROP_S_DROP 0x00040100L
#define DRAGDROP_S_CANCEL 0x00040101L
#define E_UNEXPECTED 0x8000FFFF
#define E_UNEXPECTED 0x8000FFFF
#define E_NOTIMPL 0x80004001
#define E_NOTIMPL 0x80004001
...
...
ole/ole2.c
View file @
18aacf15
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#include "ole2.h"
#include "ole2.h"
#include "process.h"
#include "process.h"
#include "debug.h"
#include "debug.h"
#include "objidl.h"
#include "wine/obj_base.h"
#include "wine/obj_base.h"
#include "wine/obj_clientserver.h"
#include "wine/obj_clientserver.h"
#include "wine/obj_storage.h"
#include "wine/obj_storage.h"
...
@@ -170,3 +171,17 @@ HRESULT WINAPI CreateBindCtx32 (DWORD reserved, LPVOID *ppbc)
...
@@ -170,3 +171,17 @@ HRESULT WINAPI CreateBindCtx32 (DWORD reserved, LPVOID *ppbc)
/* return S_OK; */
/* return S_OK; */
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
}
}
/***********************************************************************
* DoDragDrop32 [OLE32.65]
*/
HRESULT
WINAPI
DoDragDrop32
(
IDataObject
*
pDataObject
,
/* ptr to the data obj */
IDataObject
*
pDropSource
,
/* ptr to the source obj */
DWORD
dwOKEffect
,
/* effects allowed by the source */
DWORD
*
pdwEffect
)
/* ptr to effects of the source */
{
FIXME
(
ole
,
"(DataObject %p, DropSource %p): stub!
\n
"
,
pDataObject
,
pDropSource
);
return
DRAGDROP_S_DROP
;
}
ole/olecli.c
View file @
18aacf15
...
@@ -8,9 +8,13 @@
...
@@ -8,9 +8,13 @@
*/
*/
#include "windows.h"
#include "windows.h"
#include "winerror.h"
#include "ole.h"
#include "ole.h"
#include "gdi.h"
#include "gdi.h"
#include "debug.h"
#include "debug.h"
#include "ole2.h"
#include "objidl.h"
extern
LONG
OLE_current_handle
;
extern
LONG
OLE_current_handle
;
...
@@ -160,3 +164,14 @@ OLESTATUS WINAPI OleCreateFromClip32(
...
@@ -160,3 +164,14 @@ OLESTATUS WINAPI OleCreateFromClip32(
/* clipb type, object kreieren entsprechend etc. */
/* clipb type, object kreieren entsprechend etc. */
return
OLE_OK
;
return
OLE_OK
;
}
}
/***********************************************************************
* OleIsCurrentClipboard32 [OLE32.110]
*/
HRESULT
WINAPI
OleIsCurrentClipboard32
(
IDataObject
*
pDataObject
)
/* ptr to the data obj previously copied or cut */
{
FIXME
(
ole
,
"(DataObject %p): stub!
\n
"
,
pDataObject
);
return
S_FALSE
;
}
relay32/ole32.spec
View file @
18aacf15
...
@@ -65,7 +65,7 @@ type win32
...
@@ -65,7 +65,7 @@ type win32
62 stub DllDebugObjectRPCHook
62 stub DllDebugObjectRPCHook
63 stub DllGetClassObject
63 stub DllGetClassObject
64 stub DllGetClassObjectWOW
64 stub DllGetClassObjectWOW
65 st
ub DoDragDrop
65 st
dcall DoDragDrop(ptr ptr long ptr) DoDragDrop32
66 stub EnableHookObject
66 stub EnableHookObject
67 stub GetClassFile
67 stub GetClassFile
68 stub GetConvertStg
68 stub GetConvertStg
...
@@ -110,7 +110,7 @@ type win32
...
@@ -110,7 +110,7 @@ type win32
107 stub OleGetIconOfFile
107 stub OleGetIconOfFile
108 stdcall OleInitialize(ptr) OleInitialize
108 stdcall OleInitialize(ptr) OleInitialize
109 stdcall OleInitializeWOW(long) OleInitializeWOW
109 stdcall OleInitializeWOW(long) OleInitializeWOW
110 st
ub OleIsCurrentClipboard
110 st
dcall OleIsCurrentClipboard(ptr) OleIsCurrentClipboard32
111 stub OleIsRunning
111 stub OleIsRunning
112 stub OleLoad
112 stub OleLoad
113 stub OleLoadFromStream
113 stub OleLoadFromStream
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment