1 | /* $Id: drag.cpp,v 1.2 1999-06-10 16:56:08 phaller Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Win32 SHELL32 for OS/2
|
---|
5 | * Copyright 1989 Patrick Haller
|
---|
6 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
7 | */
|
---|
8 |
|
---|
9 |
|
---|
10 | /*****************************************************************************
|
---|
11 | * Includes *
|
---|
12 | *****************************************************************************/
|
---|
13 |
|
---|
14 | #include <os2win.h>
|
---|
15 | #include <shellapi.h>
|
---|
16 | #include <winreg.h>
|
---|
17 | #include "shell32.h"
|
---|
18 |
|
---|
19 | #include <stdarg.h>
|
---|
20 | //#include <builtin.h>
|
---|
21 | #include <stdio.h>
|
---|
22 | #include <stdlib.h>
|
---|
23 | #include <string.h>
|
---|
24 |
|
---|
25 | #include <misc.h>
|
---|
26 | #include <nameid.h>
|
---|
27 | #include <unicode.h>
|
---|
28 |
|
---|
29 |
|
---|
30 | /*****************************************************************************
|
---|
31 | * Types & Defines *
|
---|
32 | *****************************************************************************/
|
---|
33 |
|
---|
34 |
|
---|
35 | /*****************************************************************************
|
---|
36 | * Name : VOID DragAcceptFiles
|
---|
37 | * Purpose :
|
---|
38 | * Parameters: HWND hwnd
|
---|
39 | * BOOL fAccept
|
---|
40 | * Variables :
|
---|
41 | * Result :
|
---|
42 | * Remark :
|
---|
43 | * Status : UNTESTED STUB
|
---|
44 | *
|
---|
45 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
---|
46 | *****************************************************************************/
|
---|
47 |
|
---|
48 | VOID WIN32API DragAcceptFiles(HWND hwnd,
|
---|
49 | BOOL fAccept)
|
---|
50 | {
|
---|
51 | dprintf(("SHELL32: DragAcceptFiles (%08uxh, %08xh) not implemented.\n",
|
---|
52 | hwnd,
|
---|
53 | fAccept));
|
---|
54 | }
|
---|
55 |
|
---|
56 |
|
---|
57 | /*****************************************************************************
|
---|
58 | * Name : VOID DragFinish
|
---|
59 | * Purpose :
|
---|
60 | * Parameters: HDROP hDrop
|
---|
61 | * Variables :
|
---|
62 | * Result :
|
---|
63 | * Remark :
|
---|
64 | * Status : UNTESTED STUB
|
---|
65 | *
|
---|
66 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
---|
67 | *****************************************************************************/
|
---|
68 |
|
---|
69 | VOID WIN32API DragFinish(HDROP hDrop)
|
---|
70 | {
|
---|
71 | dprintf(("SHELL32: DragFinish(%08xh) not implemented.\n",
|
---|
72 | hDrop));
|
---|
73 | }
|
---|
74 |
|
---|
75 |
|
---|
76 | /*****************************************************************************
|
---|
77 | * Name : UINT DragQueryFileA
|
---|
78 | * Purpose :
|
---|
79 | * Parameters: HDROP hDrop - drop structure handle
|
---|
80 | * UINT iFile - index of file to query
|
---|
81 | * LPTSTR lpszFile - target buffer
|
---|
82 | * UINT cch - target buffer size
|
---|
83 | * Variables :
|
---|
84 | * Result :
|
---|
85 | * Remark :
|
---|
86 | * Status : UNTESTED STUB
|
---|
87 | *
|
---|
88 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
---|
89 | *****************************************************************************/
|
---|
90 |
|
---|
91 | UINT WIN32API DragQueryFileA(HDROP hDrop,
|
---|
92 | UINT iFile,
|
---|
93 | LPTSTR lpszFile,
|
---|
94 | UINT cch)
|
---|
95 | {
|
---|
96 | dprintf(("SHELL32: DragQueryFileA(%08xh,%08xh,%s,%08xh) not implemented.\n",
|
---|
97 | hDrop,
|
---|
98 | iFile,
|
---|
99 | lpszFile,
|
---|
100 | cch));
|
---|
101 |
|
---|
102 | return(0);
|
---|
103 | }
|
---|
104 |
|
---|
105 |
|
---|
106 | /*****************************************************************************
|
---|
107 | * Name : UINT DragQueryFileAorW
|
---|
108 | * Purpose :
|
---|
109 | * Parameters: HDROP hDrop - drop structure handle
|
---|
110 | * UINT iFile - index of file to query
|
---|
111 | * LPTSTR lpszFile - target buffer
|
---|
112 | * UINT cch - target buffer size
|
---|
113 | * Variables :
|
---|
114 | * Result :
|
---|
115 | * Remark :
|
---|
116 | * Status : UNTESTED STUB
|
---|
117 | *
|
---|
118 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
---|
119 | *****************************************************************************/
|
---|
120 |
|
---|
121 | UINT WIN32API DragQueryFileAorW(HDROP hDrop,
|
---|
122 | UINT iFile,
|
---|
123 | LPTSTR lpszFile,
|
---|
124 | UINT cch)
|
---|
125 | {
|
---|
126 | dprintf(("SHELL32: DragQueryFileAorW(%08xh,%08xh,%s,%08xh) not implemented.\n",
|
---|
127 | hDrop,
|
---|
128 | iFile,
|
---|
129 | lpszFile,
|
---|
130 | cch));
|
---|
131 |
|
---|
132 | return(0);
|
---|
133 | }
|
---|
134 |
|
---|
135 |
|
---|
136 | /*****************************************************************************
|
---|
137 | * Name : UINT DragQueryFileW
|
---|
138 | * Purpose :
|
---|
139 | * Parameters: HDROP hDrop - drop structure handle
|
---|
140 | * UINT iFile - index of file to query
|
---|
141 | * LPWSTR lpszFile - target buffer
|
---|
142 | * UINT cch - target buffer size
|
---|
143 | * Variables :
|
---|
144 | * Result :
|
---|
145 | * Remark :
|
---|
146 | * Status : UNTESTED STUB
|
---|
147 | *
|
---|
148 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
---|
149 | *****************************************************************************/
|
---|
150 |
|
---|
151 | UINT WIN32API DragQueryFileW(HDROP hDrop,
|
---|
152 | UINT iFile,
|
---|
153 | LPWSTR lpszFile,
|
---|
154 | UINT cch)
|
---|
155 | {
|
---|
156 | dprintf(("SHELL32: DragQueryFileW(%08xh,%08xh,%s,%08xh) not implemented.\n",
|
---|
157 | hDrop,
|
---|
158 | iFile,
|
---|
159 | lpszFile,
|
---|
160 | cch));
|
---|
161 |
|
---|
162 | return(0);
|
---|
163 | }
|
---|
164 |
|
---|
165 |
|
---|
166 | /*****************************************************************************
|
---|
167 | * Name : BOOL DrawQueryPoint
|
---|
168 | * Purpose :
|
---|
169 | * Parameters: HDROP hDrop
|
---|
170 | * LPPOINT lppt
|
---|
171 | * Variables :
|
---|
172 | * Result :
|
---|
173 | * Remark :
|
---|
174 | * Status : UNTESTED STUB
|
---|
175 | *
|
---|
176 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
---|
177 | *****************************************************************************/
|
---|
178 |
|
---|
179 | BOOL WIN32API DragQueryPoint(HDROP hDrop,
|
---|
180 | LPPOINT lppt)
|
---|
181 | {
|
---|
182 | dprintf(("SHELL32: DragQueryPoint (%08xh,%08xh) not implemented.\n",
|
---|
183 | hDrop,
|
---|
184 | lppt));
|
---|
185 |
|
---|
186 | return(FALSE);
|
---|
187 | }
|
---|
188 |
|
---|