Implemented msvcrt._mbspbrk.
[wine.git] / dlls / oledlg / oledlg_main.c
blob00b052380ed2a304adc215d8fda510dd530d313f
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);
16 /***********************************************************************
17 * OleUIAddVerbMenuA (OLEDLG.1)
19 BOOL WINAPI OleUIAddVerbMenuA(
20 LPOLEOBJECT lpOleObj, LPCSTR lpszShortType,
21 HMENU hMenu, UINT uPos, UINT uIDVerbMin, UINT uIDVerbMax,
22 BOOL bAddConvert, UINT idConvert, HMENU *lphMenu)
24 FIXME("(%p, %s, 0x%08x, %d, %d, %d, %d, %d, %p): stub\n",
25 lpOleObj, debugstr_a(lpszShortType),
26 hMenu, uPos, uIDVerbMin, uIDVerbMax,
27 bAddConvert, idConvert, lphMenu
29 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
30 return FALSE;
33 /***********************************************************************
34 * OleUIAddVerbMenuW (OLEDLG.14)
36 BOOL WINAPI OleUIAddVerbMenuW(
37 LPOLEOBJECT lpOleObj, LPCWSTR lpszShortType,
38 HMENU hMenu, UINT uPos, UINT uIDVerbMin, UINT uIDVerbMax,
39 BOOL bAddConvert, UINT idConvert, HMENU *lphMenu)
41 FIXME("(%p, %s, 0x%08x, %d, %d, %d, %d, %d, %p): stub\n",
42 lpOleObj, debugstr_w(lpszShortType),
43 hMenu, uPos, uIDVerbMin, uIDVerbMax,
44 bAddConvert, idConvert, lphMenu
46 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
47 return FALSE;
50 /***********************************************************************
51 * OleUICanConvertOrActivateAs (OLEDLG.2)
53 BOOL WINAPI OleUICanConvertOrActivateAs(
54 REFCLSID rClsid, BOOL fIsLinkedObject, WORD wFormat)
56 FIXME("(%p, %d, %hd): stub\n",
57 rClsid, fIsLinkedObject, wFormat
59 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
60 return FALSE;
63 /***********************************************************************
64 * OleUIInsertObjectA (OLEDLG.3)
66 UINT WINAPI OleUIInsertObjectA(LPOLEUIINSERTOBJECTA lpOleUIInsertObject)
68 FIXME("(%p): stub\n", lpOleUIInsertObject);
69 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
70 return OLEUI_FALSE;
73 /***********************************************************************
74 * OleUIInsertObjectW (OLEDLG.20)
76 UINT WINAPI OleUIInsertObjectW(LPOLEUIINSERTOBJECTW lpOleUIInsertObject)
78 FIXME("(%p): stub\n", lpOleUIInsertObject);
79 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
80 return OLEUI_FALSE;
83 /***********************************************************************
84 * OleUIPasteSpecialA (OLEDLG.4)
86 UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial)
88 FIXME("(%p): stub\n", lpOleUIPasteSpecial);
89 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
90 return OLEUI_FALSE;
93 /***********************************************************************
94 * OleUIPasteSpecialW (OLEDLG.22)
96 UINT WINAPI OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial)
98 FIXME("(%p): stub\n", lpOleUIPasteSpecial);
99 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
100 return OLEUI_FALSE;
103 /***********************************************************************
104 * OleUIEditLinksA (OLEDLG.5)
106 UINT WINAPI OleUIEditLinksA(LPOLEUIEDITLINKSA lpOleUIEditLinks)
108 FIXME("(%p): stub\n", lpOleUIEditLinks);
109 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
110 return OLEUI_FALSE;
113 /***********************************************************************
114 * OleUIEditLinksW (OLEDLG.19)
116 UINT WINAPI OleUIEditLinksW(LPOLEUIEDITLINKSW lpOleUIEditLinks)
118 FIXME("(%p): stub\n", lpOleUIEditLinks);
119 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
120 return OLEUI_FALSE;
123 /***********************************************************************
124 * OleUIChangeIconA (OLEDLG.6)
126 UINT WINAPI OleUIChangeIconA(
127 LPOLEUICHANGEICONA lpOleUIChangeIcon)
129 FIXME("(%p): stub\n", lpOleUIChangeIcon);
130 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
131 return OLEUI_FALSE;
134 /***********************************************************************
135 * OleUIChangeIconW (OLEDLG.16)
137 UINT WINAPI OleUIChangeIconW(
138 LPOLEUICHANGEICONW lpOleUIChangeIcon)
140 FIXME("(%p): stub\n", lpOleUIChangeIcon);
141 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
142 return OLEUI_FALSE;
145 /***********************************************************************
146 * OleUIConvertA (OLEDLG.7)
148 UINT WINAPI OleUIConvertA(LPOLEUICONVERTA lpOleUIConvert)
150 FIXME("(%p): stub\n", lpOleUIConvert);
151 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
152 return OLEUI_FALSE;
155 /***********************************************************************
156 * OleUIConvertW (OLEDLG.18)
158 UINT WINAPI OleUIConvertW(LPOLEUICONVERTW lpOleUIConvert)
160 FIXME("(%p): stub\n", lpOleUIConvert);
161 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
162 return OLEUI_FALSE;
165 /***********************************************************************
166 * OleUIBusyA (OLEDLG.8)
168 UINT WINAPI OleUIBusyA(LPOLEUIBUSYA lpOleUIBusy)
170 FIXME("(%p): stub\n", lpOleUIBusy);
171 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
172 return OLEUI_FALSE;
175 /***********************************************************************
176 * OleUIBusyW (OLEDLG.15)
178 UINT WINAPI OleUIBusyW(LPOLEUIBUSYW lpOleUIBusy)
180 FIXME("(%p): stub\n", lpOleUIBusy);
181 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
182 return OLEUI_FALSE;
185 /***********************************************************************
186 * OleUIUpdateLinksA (OLEDLG.9)
188 BOOL WINAPI OleUIUpdateLinksA(
189 LPOLEUILINKCONTAINERA lpOleUILinkCntr,
190 HWND hwndParent, LPSTR lpszTitle, INT cLinks)
192 FIXME("(%p, 0x%08x, %s, %d): stub\n",
193 lpOleUILinkCntr, hwndParent, debugstr_a(lpszTitle), cLinks
195 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
196 return FALSE;
199 /***********************************************************************
200 * OleUIUpdateLinksW (OLEDLG.23)
202 BOOL WINAPI OleUIUpdateLinksW(
203 LPOLEUILINKCONTAINERW lpOleUILinkCntr,
204 HWND hwndParent, LPWSTR lpszTitle, INT cLinks)
206 FIXME("(%p, 0x%08x, %s, %d): stub\n",
207 lpOleUILinkCntr, hwndParent, debugstr_w(lpszTitle), cLinks
209 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
210 return FALSE;
213 /***********************************************************************
214 * OleUIPromptUserA (OLEDLG.10)
216 INT __cdecl OleUIPromptUserA(
217 INT nTemplate, HWND hwndParent, ...)
219 FIXME("(%d, 0x%08x, ...): stub\n", nTemplate, hwndParent);
220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
221 return OLEUI_FALSE;
224 /***********************************************************************
225 * OleUIPromptUserW (OLEDLG.13)
227 INT __cdecl OleUIPromptUserW(
228 INT nTemplate, HWND hwndParent, ...)
230 FIXME("(%d, 0x%08x, ...): stub\n", nTemplate, hwndParent);
231 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
232 return OLEUI_FALSE;
235 /***********************************************************************
236 * OleUIObjectPropertiesA (OLEDLG.11)
238 UINT WINAPI OleUIObjectPropertiesA(
239 LPOLEUIOBJECTPROPSA lpOleUIObjectProps)
241 FIXME("(%p): stub\n", lpOleUIObjectProps);
242 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
243 return OLEUI_FALSE;
246 /***********************************************************************
247 * OleUIObjectPropertiesW (OLEDLG.21)
249 UINT WINAPI OleUIObjectPropertiesW(
250 LPOLEUIOBJECTPROPSW lpOleUIObjectProps)
252 FIXME("(%p): stub\n", lpOleUIObjectProps);
253 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
254 return OLEUI_FALSE;
257 /***********************************************************************
258 * OleUIChangeSourceA (OLEDLG.12)
260 UINT WINAPI OleUIChangeSourceA(
261 LPOLEUICHANGESOURCEA lpOleUIChangeSource)
263 FIXME("(%p): stub\n", lpOleUIChangeSource);
264 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
265 return OLEUI_FALSE;
268 /***********************************************************************
269 * OleUIChangeSourceW (OLEDLG.17)
271 UINT WINAPI OleUIChangeSourceW(
272 LPOLEUICHANGESOURCEW lpOleUIChangeSource)
274 FIXME("(%p): stub\n", lpOleUIChangeSource);
275 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
276 return OLEUI_FALSE;