source: trunk/src/shell32/unknown.cpp@ 1214

Last change on this file since 1214 was 1214, checked in by sandervl, 26 years ago

Moved new shell32 to current dir

File size: 7.9 KB
Line 
1/* $Id: unknown.cpp,v 1.7 1999-10-09 11:13:25 sandervl Exp $ */
2
3/*
4 * Project Odin Software License can be found in LICENSE.TXT
5 * Win32 SHELL32 Subsystem for OS/2
6 * 1998/05/19 PH Patrick Haller (haller@zebra.fh-weingarten.de)
7 */
8
9/*****************************************************************************
10 * Includes *
11 *****************************************************************************/
12
13#include <odin.h>
14#include <odinwrap.h>
15#include <os2win.h>
16#include <shellapi.h>
17#include <winreg.h>
18//#include "shell32.h"
19
20
21ODINDEBUGCHANNEL(SHELL32-UNKNOWN)
22
23/*****************************************************************************
24 * Defines *
25 *****************************************************************************/
26
27/*****************************************************************************
28 * Structures *
29 *****************************************************************************/
30
31/*****************************************************************************
32 * Prototypes *
33 *****************************************************************************/
34
35
36/*****************************************************************************
37 * Name : HINSTANCE RealShellExecuteA
38 * Purpose : Start a program
39 * Parameters: HWND hwnd
40 * LPCTSTR lpOperation
41 * LPCTSTR lpFile
42 * LPCTSTR lpParameters
43 * LPCTSTR lpDirectory
44 * INT nShowCmd
45 * Variables :
46 * Result :
47 * Remark : SHELL32.229
48 * Status : UNTESTED UNKNOWN
49 *
50 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
51 *****************************************************************************/
52
53ODINFUNCTION6(HINSTANCE, RealShellExecuteA,
54 HWND, hwnd,
55 LPCTSTR, lpOperation,
56 LPCTSTR, lpFile,
57 LPCTSTR, lpParameters,
58 LPCTSTR, lpDirectory,
59 INT, nShowCmd)
60{
61 dprintf (("SHELL32: RealShellExecuteA not implemented.\n"));
62
63 return(0); //out of memory
64}
65
66
67/*****************************************************************************
68 * Name : HINSTANCE RealShellExecuteW
69 * Purpose : Start a program
70 * Parameters: HWND hwnd
71 * LPCWSTR lpOperation
72 * LPCWSTR lpFile
73 * LPCWSTR lpParameters
74 * LPCWSTR lpDirectory
75 * INT nShowCmd
76 * Variables :
77 * Result :
78 * Remark : SHELL32.232
79 * Status : UNTESTED UNKNOWN
80 *
81 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
82 *****************************************************************************/
83
84ODINFUNCTION6(HINSTANCE, RealShellExecuteW,
85 HWND, hwnd,
86 LPCWSTR, lpOperation,
87 LPCWSTR, lpFile,
88 LPCWSTR, lpParameters,
89 LPCWSTR, lpDirectory,
90 INT, nShowCmd)
91{
92 HINSTANCE hInstance;
93 LPSTR lpOperationA = UnicodeToAsciiString((LPWSTR)lpOperation);
94 LPSTR lpFileA = UnicodeToAsciiString((LPWSTR)lpFile);
95 LPSTR lpParametersA = UnicodeToAsciiString((LPWSTR)lpParameters);
96 LPSTR lpDirectoryA = UnicodeToAsciiString((LPWSTR)lpDirectory);
97
98 dprintf (("SHELL32: RealShellExecuteW(%08xh,%s,%s,%s,%s,%08xh).\n",
99 hwnd,
100 lpOperationA,
101 lpFileA,
102 lpParametersA,
103 lpDirectoryA,
104 nShowCmd));
105
106 hInstance = RealShellExecuteA(hwnd,
107 lpOperationA,
108 lpFileA,
109 lpParametersA,
110 lpDirectoryA,
111 nShowCmd);
112
113 FreeAsciiString(lpOperationA);
114 FreeAsciiString(lpFileA);
115 FreeAsciiString(lpParametersA);
116 FreeAsciiString(lpDirectoryA);
117
118 return hInstance;
119}
120
121
122/*****************************************************************************
123 * Name : BOOL RealShellExecuteExA
124 * Purpose :
125 * Parameters:
126 * Variables :
127 * Result :
128 * Remark : SHELL32.230
129 * Status : UNTESTED STUB UNKNOWN
130 *
131 * Author : Patrick Haller [Tue, 1998/06/15 03:00]
132 *****************************************************************************/
133
134ODINFUNCTION1(BOOL, RealShellExecuteExA,
135 LPSHELLEXECUTEINFOA, lpExecInfo)
136{
137 dprintf(("SHELL32: RealShellExecuteExA not implemented.\n"));
138
139 return (0);
140}
141
142
143/*****************************************************************************
144 * Name : BOOL RealShellExecuteExW
145 * Purpose :
146 * Parameters:
147 * Variables :
148 * Result :
149 * Remark : SHELL32.231
150 * Status : UNTESTED STUB UNKNOWN
151 *
152 * Author : Patrick Haller [Tue, 1998/06/15 03:00]
153 *****************************************************************************/
154
155ODINFUNCTION1(BOOL, RealShellExecuteExW,
156 LPSHELLEXECUTEINFOW, lpExecInfo)
157{
158 dprintf(("SHELL32: RealShellExecuteExW not implemented.\n"));
159
160 return (0);
161}
162
163
164/*****************************************************************************
165 * Name : DWORD RegenerateUserEnvironment
166 * Purpose :
167 * Parameters: unknown, probably wrong
168 * Variables :
169 * Result :
170 * Remark : SHELL32.233
171 * Status : UNTESTED STUB UNKNOWN
172 *
173 * Author : Patrick Haller [Tue, 1998/06/15 03:00]
174 *****************************************************************************/
175
176ODINFUNCTION2(DWORD, RegenerateUserEnvironment,
177 DWORD, x1,
178 DWORD, x2)
179{
180 dprintf(("SHELL32: RegenerateUserEnvironment not implemented.\n"));
181
182 return (0);
183}
184
185
186/*****************************************************************************
187 * Name : DWORD RestartDialog
188 * Purpose :
189 * Parameters: unknown, probably wrong
190 * Variables :
191 * Result :
192 * Remark : SHELL32.59
193 * Status : UNTESTED STUB UNKNOWN
194 *
195 * Author : Patrick Haller [Tue, 1998/06/15 03:00]
196 *****************************************************************************/
197
198ODINFUNCTION3(DWORD, RestartDialog,
199 DWORD, x1,
200 DWORD, x2,
201 DWORD, x3)
202{
203 dprintf(("SHELL32: RestartDialog not implemented.\n"));
204
205 return (0);
206}
207
208
209/*****************************************************************************
210 * Name : DWORD SheConvertPathW
211 * Purpose :
212 * Parameters: unknown, probably wrong
213 * Variables :
214 * Result :
215 * Remark : SHELL32.275
216 * Status : UNTESTED STUB UNKNOWN
217 *
218 * Author : Patrick Haller [Tue, 1998/06/15 03:00]
219 *****************************************************************************/
220
221ODINFUNCTION2(DWORD, SheConvertPathW,
222 DWORD, x1,
223 DWORD, x2)
224{
225 dprintf(("SHELL32: SheConvertPathW not implemented.\n"));
226
227 return (0);
228}
229
230
231/*****************************************************************************
232 * Name : DWORD SheShortenPathW
233 * Purpose :
234 * Parameters: unknown, probably wrong
235 * Variables :
236 * Result :
237 * Remark : SHELL32.287
238 * Status : UNTESTED STUB UNKNOWN
239 *
240 * Author : Patrick Haller [Tue, 1998/06/15 03:00]
241 *****************************************************************************/
242
243ODINFUNCTION2(DWORD, SheShortenPathW,
244 DWORD, x1,
245 DWORD, x2)
246{
247 dprintf(("SHELL32: SheShortenPathW not implemented.\n"));
248
249 return (0);
250}
251
252
253/*****************************************************************************
254 * Name : DWORD SheShortenPathA
255 * Purpose :
256 * Parameters: unknown, probably wrong
257 * Variables :
258 * Result :
259 * Remark : SHELL32.286
260 * Status : UNTESTED STUB UNKNOWN
261 *
262 * Author : Patrick Haller [Tue, 1998/06/15 03:00]
263 *****************************************************************************/
264
265ODINFUNCTION2(DWORD, SheShortenPathA,
266 DWORD, x1,
267 DWORD, x2)
268{
269 dprintf(("SHELL32: SheShortenPathA not implemented.\n"));
270
271 return (0);
272}
273
Note: See TracBrowser for help on using the repository browser.