Defer to standard scrolling APIs for non-flatSB specific functions so
[wine/multimedia.git] / dlls / oledlg / oledlg_main.c
blobe9e4e21a9424d82e2e6d7098416e0d9f33fee889
1 /*
2 * OLEDLG library
4 * Copyright 1998 Patrik Stridvall
5 */
7 #include "windef.h"
8 #include "winbase.h"
9 #include "winerror.h"
10 #include "oledlg.h"
11 #include "debugtools.h"
12 #include "ole2.h"
14 DEFAULT_DEBUG_CHANNEL(ole)
15 /***********************************************************************
16 * OleUIAddVerbMenuA (OLEDLG.1)
18 BOOL WINAPI OleUIAddVerbMenuA(
19 LPOLEOBJECT lpOleObj, LPCSTR lpszShortType,
20 HMENU hMenu, UINT uPos, UINT uIDVerbMin, UINT uIDVerbMax,
21 BOOL bAddConvert, UINT idConvert, HMENU *lphMenu)
23 FIXME("(%p, %s, 0x%08x, %d, %d, %d, %d, %d, %p): stub\n",
24 lpOleObj, debugstr_a(lpszShortType),
25 hMenu, uPos, uIDVerbMin, uIDVerbMax,
26 bAddConvert, idConvert, lphMenu
28 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
29 return FALSE;
32 /***********************************************************************
33 * OleUIAddVerbMenuW (OLEDLG.14)
35 BOOL WINAPI OleUIAddVerbMenuW(
36 LPOLEOBJECT lpOleObj, LPCWSTR lpszShortType,
37 HMENU hMenu, UINT uPos, UINT uIDVerbMin, UINT uIDVerbMax,
38 BOOL bAddConvert, UINT idConvert, HMENU *lphMenu)
40 FIXME("(%p, %s, 0x%08x, %d, %d, %d, %d, %d, %p): stub\n",
41 lpOleObj, debugstr_w(lpszShortType),
42 hMenu, uPos, uIDVerbMin, uIDVerbMax,
43 bAddConvert, idConvert, lphMenu
45 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
46 return FALSE;
49 /***********************************************************************
50 * OleUICanConvertOrActivateAs (OLEDLG.2)
52 BOOL WINAPI OleUICanConvertOrActivateAs(
53 REFCLSID rClsid, BOOL fIsLinkedObject, WORD wFormat)
55 FIXME("(%p, %d, %hd): stub\n",
56 rClsid, fIsLinkedObject, wFormat
58 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
59 return FALSE;
62 /***********************************************************************
63 * OleUIInsertObjectA (OLEDLG.3)
65 UINT WINAPI OleUIInsertObjectA(LPOLEUIINSERTOBJECTA lpOleUIInsertObject)
67 FIXME("(%p): stub\n", lpOleUIInsertObject);
68 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
69 return OLEUI_FALSE;
72 /***********************************************************************
73 * OleUIInsertObjectW (OLEDLG.20)
75 UINT WINAPI OleUIInsertObjectW(LPOLEUIINSERTOBJECTW lpOleUIInsertObject)
77 FIXME("(%p): stub\n", lpOleUIInsertObject);
78 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
79 return OLEUI_FALSE;
82 /***********************************************************************
83 * OleUIPasteSpecialA (OLEDLG.4)
85 UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial)
87 FIXME("(%p): stub\n", lpOleUIPasteSpecial);
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
89 return OLEUI_FALSE;
92 /***********************************************************************
93 * OleUIPasteSpecialW (OLEDLG.22)
95 UINT WINAPI OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial)
97 FIXME("(%p): stub\n", lpOleUIPasteSpecial);
98 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
99 return OLEUI_FALSE;
102 /***********************************************************************
103 * OleUIEditLinksA (OLEDLG.5)
105 UINT WINAPI OleUIEditLinksA(LPOLEUIEDITLINKSA lpOleUIEditLinks)
107 FIXME("(%p): stub\n", lpOleUIEditLinks);
108 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
109 return OLEUI_FALSE;
112 /***********************************************************************
113 * OleUIEditLinksW (OLEDLG.19)
115 UINT WINAPI OleUIEditLinksW(LPOLEUIEDITLINKSW lpOleUIEditLinks)
117 FIXME("(%p): stub\n", lpOleUIEditLinks);
118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
119 return OLEUI_FALSE;
122 /***********************************************************************
123 * OleUIChangeIconA (OLEDLG.6)
125 UINT WINAPI OleUIChangeIconA(
126 LPOLEUICHANGEICONA lpOleUIChangeIcon)
128 FIXME("(%p): stub\n", lpOleUIChangeIcon);
129 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
130 return OLEUI_FALSE;
133 /***********************************************************************
134 * OleUIChangeIconW (OLEDLG.16)
136 UINT WINAPI OleUIChangeIconW(
137 LPOLEUICHANGEICONW lpOleUIChangeIcon)
139 FIXME("(%p): stub\n", lpOleUIChangeIcon);
140 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
141 return OLEUI_FALSE;
144 /***********************************************************************
145 * OleUIConvertA (OLEDLG.7)
147 UINT WINAPI OleUIConvertA(LPOLEUICONVERTA lpOleUIConvert)
149 FIXME("(%p): stub\n", lpOleUIConvert);
150 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
151 return OLEUI_FALSE;
154 /***********************************************************************
155 * OleUIConvertW (OLEDLG.18)
157 UINT WINAPI OleUIConvertW(LPOLEUICONVERTW lpOleUIConvert)
159 FIXME("(%p): stub\n", lpOleUIConvert);
160 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
161 return OLEUI_FALSE;
164 /***********************************************************************
165 * OleUIBusyA (OLEDLG.8)
167 UINT WINAPI OleUIBusyA(LPOLEUIBUSYA lpOleUIBusy)
169 FIXME("(%p): stub\n", lpOleUIBusy);
170 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
171 return OLEUI_FALSE;
174 /***********************************************************************
175 * OleUIBusyW (OLEDLG.15)
177 UINT WINAPI OleUIBusyW(LPOLEUIBUSYW lpOleUIBusy)
179 FIXME("(%p): stub\n", lpOleUIBusy);
180 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
181 return OLEUI_FALSE;
184 /***********************************************************************
185 * OleUIUpdateLinksA (OLEDLG.9)
187 BOOL WINAPI OleUIUpdateLinksA(
188 LPOLEUILINKCONTAINERA lpOleUILinkCntr,
189 HWND hwndParent, LPSTR lpszTitle, INT cLinks)
191 FIXME("(%p, 0x%08x, %s, %d): stub\n",
192 lpOleUILinkCntr, hwndParent, debugstr_a(lpszTitle), cLinks
194 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
195 return FALSE;
198 /***********************************************************************
199 * OleUIUpdateLinksW (OLEDLG.?)
200 * FIXME
201 * I haven't been able to find the ordinal for this function,
202 * This means it can't be called from outside the DLL.
204 BOOL WINAPI OleUIUpdateLinksW(
205 LPOLEUILINKCONTAINERW lpOleUILinkCntr,
206 HWND hwndParent, LPWSTR lpszTitle, INT cLinks)
208 FIXME("(%p, 0x%08x, %s, %d): stub\n",
209 lpOleUILinkCntr, hwndParent, debugstr_w(lpszTitle), cLinks
211 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
212 return FALSE;
215 /***********************************************************************
216 * OleUIPromptUserA (OLEDLG.10)
218 INT __cdecl OleUIPromptUserA(
219 INT nTemplate, HWND hwndParent, ...)
221 FIXME("(%d, 0x%08x, ...): stub\n", nTemplate, hwndParent);
222 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
223 return OLEUI_FALSE;
226 /***********************************************************************
227 * OleUIPromptUserW (OLEDLG.13)
229 INT __cdecl OleUIPromptUserW(
230 INT nTemplate, HWND hwndParent, ...)
232 FIXME("(%d, 0x%08x, ...): stub\n", nTemplate, hwndParent);
233 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
234 return OLEUI_FALSE;
237 /***********************************************************************
238 * OleUIObjectPropertiesA (OLEDLG.11)
240 UINT WINAPI OleUIObjectPropertiesA(
241 LPOLEUIOBJECTPROPSA lpOleUIObjectProps)
243 FIXME("(%p): stub\n", lpOleUIObjectProps);
244 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
245 return OLEUI_FALSE;
248 /***********************************************************************
249 * OleUIObjectPropertiesW (OLEDLG.21)
251 UINT WINAPI OleUIObjectPropertiesW(
252 LPOLEUIOBJECTPROPSW lpOleUIObjectProps)
254 FIXME("(%p): stub\n", lpOleUIObjectProps);
255 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
256 return OLEUI_FALSE;
259 /***********************************************************************
260 * OleUIChangeSourceA (OLEDLG.12)
262 UINT WINAPI OleUIChangeSourceA(
263 LPOLEUICHANGESOURCEA lpOleUIChangeSource)
265 FIXME("(%p): stub\n", lpOleUIChangeSource);
266 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
267 return OLEUI_FALSE;
270 /***********************************************************************
271 * OleUIChangeSourceW (OLEDLG.17)
273 UINT WINAPI OleUIChangeSourceW(
274 LPOLEUICHANGESOURCEW lpOleUIChangeSource)
276 FIXME("(%p): stub\n", lpOleUIChangeSource);
277 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
278 return OLEUI_FALSE;