Merge documentation/status/lzexpand into the lzexpand source.
[wine/multimedia.git] / dlls / oledlg / oledlg_main.c
blob4a96dabb3aa5ca59d709eca9200e72d75cbadbb9
1 /*
2 * OLEDLG library
4 * Copyright 1998 Patrik Stridvall
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #define COM_NO_WINDOWS_H
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winerror.h"
27 #include "wingdi.h"
28 #include "winuser.h"
29 #include "oledlg.h"
30 #include "wine/debug.h"
31 #include "ole2.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(ole);
35 /***********************************************************************
36 * OleUIAddVerbMenuA (OLEDLG.1)
38 BOOL WINAPI OleUIAddVerbMenuA(
39 LPOLEOBJECT lpOleObj, LPCSTR lpszShortType,
40 HMENU hMenu, UINT uPos, UINT uIDVerbMin, UINT uIDVerbMax,
41 BOOL bAddConvert, UINT idConvert, HMENU *lphMenu)
43 FIXME("(%p, %s, %p, %d, %d, %d, %d, %d, %p): stub\n",
44 lpOleObj, debugstr_a(lpszShortType),
45 hMenu, uPos, uIDVerbMin, uIDVerbMax,
46 bAddConvert, idConvert, lphMenu
48 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
49 return FALSE;
52 /***********************************************************************
53 * OleUIAddVerbMenuW (OLEDLG.14)
55 BOOL WINAPI OleUIAddVerbMenuW(
56 LPOLEOBJECT lpOleObj, LPCWSTR lpszShortType,
57 HMENU hMenu, UINT uPos, UINT uIDVerbMin, UINT uIDVerbMax,
58 BOOL bAddConvert, UINT idConvert, HMENU *lphMenu)
60 FIXME("(%p, %s, %p, %d, %d, %d, %d, %d, %p): stub\n",
61 lpOleObj, debugstr_w(lpszShortType),
62 hMenu, uPos, uIDVerbMin, uIDVerbMax,
63 bAddConvert, idConvert, lphMenu
65 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
66 return FALSE;
69 /***********************************************************************
70 * OleUICanConvertOrActivateAs (OLEDLG.2)
72 BOOL WINAPI OleUICanConvertOrActivateAs(
73 REFCLSID rClsid, BOOL fIsLinkedObject, WORD wFormat)
75 FIXME("(%p, %d, %hd): stub\n",
76 rClsid, fIsLinkedObject, wFormat
78 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
79 return FALSE;
82 /***********************************************************************
83 * OleUIInsertObjectA (OLEDLG.3)
85 UINT WINAPI OleUIInsertObjectA(LPOLEUIINSERTOBJECTA lpOleUIInsertObject)
87 FIXME("(%p): stub\n", lpOleUIInsertObject);
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
89 return OLEUI_FALSE;
92 /***********************************************************************
93 * OleUIInsertObjectW (OLEDLG.20)
95 UINT WINAPI OleUIInsertObjectW(LPOLEUIINSERTOBJECTW lpOleUIInsertObject)
97 FIXME("(%p): stub\n", lpOleUIInsertObject);
98 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
99 return OLEUI_FALSE;
102 /***********************************************************************
103 * OleUIPasteSpecialA (OLEDLG.4)
105 UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial)
107 FIXME("(%p): stub\n", lpOleUIPasteSpecial);
108 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
109 return OLEUI_FALSE;
112 /***********************************************************************
113 * OleUIPasteSpecialW (OLEDLG.22)
115 UINT WINAPI OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial)
117 FIXME("(%p): stub\n", lpOleUIPasteSpecial);
118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
119 return OLEUI_FALSE;
122 /***********************************************************************
123 * OleUIEditLinksA (OLEDLG.5)
125 UINT WINAPI OleUIEditLinksA(LPOLEUIEDITLINKSA lpOleUIEditLinks)
127 FIXME("(%p): stub\n", lpOleUIEditLinks);
128 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
129 return OLEUI_FALSE;
132 /***********************************************************************
133 * OleUIEditLinksW (OLEDLG.19)
135 UINT WINAPI OleUIEditLinksW(LPOLEUIEDITLINKSW lpOleUIEditLinks)
137 FIXME("(%p): stub\n", lpOleUIEditLinks);
138 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
139 return OLEUI_FALSE;
142 /***********************************************************************
143 * OleUIChangeIconA (OLEDLG.6)
145 UINT WINAPI OleUIChangeIconA(
146 LPOLEUICHANGEICONA lpOleUIChangeIcon)
148 FIXME("(%p): stub\n", lpOleUIChangeIcon);
149 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
150 return OLEUI_FALSE;
153 /***********************************************************************
154 * OleUIChangeIconW (OLEDLG.16)
156 UINT WINAPI OleUIChangeIconW(
157 LPOLEUICHANGEICONW lpOleUIChangeIcon)
159 FIXME("(%p): stub\n", lpOleUIChangeIcon);
160 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
161 return OLEUI_FALSE;
164 /***********************************************************************
165 * OleUIConvertA (OLEDLG.7)
167 UINT WINAPI OleUIConvertA(LPOLEUICONVERTA lpOleUIConvert)
169 FIXME("(%p): stub\n", lpOleUIConvert);
170 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
171 return OLEUI_FALSE;
174 /***********************************************************************
175 * OleUIConvertW (OLEDLG.18)
177 UINT WINAPI OleUIConvertW(LPOLEUICONVERTW lpOleUIConvert)
179 FIXME("(%p): stub\n", lpOleUIConvert);
180 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
181 return OLEUI_FALSE;
184 /***********************************************************************
185 * OleUIBusyA (OLEDLG.8)
187 UINT WINAPI OleUIBusyA(LPOLEUIBUSYA lpOleUIBusy)
189 FIXME("(%p): stub\n", lpOleUIBusy);
190 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
191 return OLEUI_FALSE;
194 /***********************************************************************
195 * OleUIBusyW (OLEDLG.15)
197 UINT WINAPI OleUIBusyW(LPOLEUIBUSYW lpOleUIBusy)
199 FIXME("(%p): stub\n", lpOleUIBusy);
200 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
201 return OLEUI_FALSE;
204 /***********************************************************************
205 * OleUIUpdateLinksA (OLEDLG.9)
207 BOOL WINAPI OleUIUpdateLinksA(
208 LPOLEUILINKCONTAINERA lpOleUILinkCntr,
209 HWND hwndParent, LPSTR lpszTitle, INT cLinks)
211 FIXME("(%p, %p, %s, %d): stub\n",
212 lpOleUILinkCntr, hwndParent, debugstr_a(lpszTitle), cLinks
214 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
215 return FALSE;
218 /***********************************************************************
219 * OleUIUpdateLinksW (OLEDLG.23)
221 BOOL WINAPI OleUIUpdateLinksW(
222 LPOLEUILINKCONTAINERW lpOleUILinkCntr,
223 HWND hwndParent, LPWSTR lpszTitle, INT cLinks)
225 FIXME("(%p, %p, %s, %d): stub\n",
226 lpOleUILinkCntr, hwndParent, debugstr_w(lpszTitle), cLinks
228 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
229 return FALSE;
232 /***********************************************************************
233 * OleUIPromptUserA (OLEDLG.10)
235 INT __cdecl OleUIPromptUserA(
236 INT nTemplate, HWND hwndParent, ...)
238 FIXME("(%d, %p, ...): stub\n", nTemplate, hwndParent);
239 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
240 return OLEUI_FALSE;
243 /***********************************************************************
244 * OleUIPromptUserW (OLEDLG.13)
246 INT __cdecl OleUIPromptUserW(
247 INT nTemplate, HWND hwndParent, ...)
249 FIXME("(%d, %p, ...): stub\n", nTemplate, hwndParent);
250 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
251 return OLEUI_FALSE;
254 /***********************************************************************
255 * OleUIObjectPropertiesA (OLEDLG.11)
257 UINT WINAPI OleUIObjectPropertiesA(
258 LPOLEUIOBJECTPROPSA lpOleUIObjectProps)
260 FIXME("(%p): stub\n", lpOleUIObjectProps);
261 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
262 return OLEUI_FALSE;
265 /***********************************************************************
266 * OleUIObjectPropertiesW (OLEDLG.21)
268 UINT WINAPI OleUIObjectPropertiesW(
269 LPOLEUIOBJECTPROPSW lpOleUIObjectProps)
271 FIXME("(%p): stub\n", lpOleUIObjectProps);
272 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
273 return OLEUI_FALSE;
276 /***********************************************************************
277 * OleUIChangeSourceA (OLEDLG.12)
279 UINT WINAPI OleUIChangeSourceA(
280 LPOLEUICHANGESOURCEA lpOleUIChangeSource)
282 FIXME("(%p): stub\n", lpOleUIChangeSource);
283 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
284 return OLEUI_FALSE;
287 /***********************************************************************
288 * OleUIChangeSourceW (OLEDLG.17)
290 UINT WINAPI OleUIChangeSourceW(
291 LPOLEUICHANGESOURCEW lpOleUIChangeSource)
293 FIXME("(%p): stub\n", lpOleUIChangeSource);
294 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
295 return OLEUI_FALSE;