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