Partially complete GetTextCharsetInfo and corrects return values for
[wine/multimedia.git] / ole / oledlg.c
blob8b010f2bcc1ded83084a123d1195c15accbb92cf
1 /*
2 * OLEDLG library
4 * Copyright 1998 Patrik Stridvall
5 */
7 #include "windows.h"
8 #include "wintypes.h"
9 #include "winerror.h"
10 #include "ole.h"
11 #include "oledlg.h"
12 #include "compobj.h"
13 #include "debug.h"
15 /***********************************************************************
16 * OleUIAddVerbMenu32A (OLEDLG.1)
18 BOOL32 WINAPI OleUIAddVerbMenu32A(
19 LPOLEOBJECT lpOleObj, LPCSTR lpszShortType,
20 HMENU32 hMenu, UINT32 uPos, UINT32 uIDVerbMin, UINT32 uIDVerbMax,
21 BOOL32 bAddConvert, UINT32 idConvert, HMENU32 *lphMenu)
23 FIXME(ole, "(%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 * OleUIAddVerbMenu32W (OLEDLG.14)
35 BOOL32 WINAPI OleUIAddVerbMenu32W(
36 LPOLEOBJECT lpOleObj, LPCWSTR lpszShortType,
37 HMENU32 hMenu, UINT32 uPos, UINT32 uIDVerbMin, UINT32 uIDVerbMax,
38 BOOL32 bAddConvert, UINT32 idConvert, HMENU32 *lphMenu)
40 FIXME(ole, "(%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 * OleUICanConvertOrActivateAs32 (OLEDLG.2)
52 BOOL32 WINAPI OleUICanConvertOrActivateAs32(
53 REFCLSID rClsid, BOOL32 fIsLinkedObject, WORD wFormat)
55 FIXME(ole, "(%p, %d, %hd): stub\n",
56 rClsid, fIsLinkedObject, wFormat
58 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
59 return FALSE;
62 /***********************************************************************
63 * OleUIInsertObject32A (OLEDLG.3)
65 UINT32 WINAPI OleUIInsertObject32A(LPOLEUIINSERTOBJECT32A lpOleUIInsertObject)
67 FIXME(ole, "(%p): stub\n", lpOleUIInsertObject);
68 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
69 return OLEUI_FALSE;
72 /***********************************************************************
73 * OleUIInsertObject32W (OLEDLG.20)
75 UINT32 WINAPI OleUIInsertObject32W(LPOLEUIINSERTOBJECT32W lpOleUIInsertObject)
77 FIXME(ole, "(%p): stub\n", lpOleUIInsertObject);
78 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
79 return OLEUI_FALSE;
82 /***********************************************************************
83 * OleUIPasteSpecial32A (OLEDLG.4)
85 UINT32 WINAPI OleUIPasteSpecial32A(LPOLEUIPASTESPECIAL32A lpOleUIPasteSpecial)
87 FIXME(ole, "(%p): stub\n", lpOleUIPasteSpecial);
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
89 return OLEUI_FALSE;
92 /***********************************************************************
93 * OleUIPasteSpecial32W (OLEDLG.22)
95 UINT32 WINAPI OleUIPasteSpecial32W(LPOLEUIPASTESPECIAL32W lpOleUIPasteSpecial)
97 FIXME(ole, "(%p): stub\n", lpOleUIPasteSpecial);
98 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
99 return OLEUI_FALSE;
102 /***********************************************************************
103 * OleUIEditLinks32A (OLEDLG.5)
105 UINT32 WINAPI OleUIEditLinks32A(LPOLEUIEDITLINKS32A lpOleUIEditLinks)
107 FIXME(ole, "(%p): stub\n", lpOleUIEditLinks);
108 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
109 return OLEUI_FALSE;
112 /***********************************************************************
113 * OleUIEditLinks32W (OLEDLG.19)
115 UINT32 WINAPI OleUIEditLinks32W(LPOLEUIEDITLINKS32W lpOleUIEditLinks)
117 FIXME(ole, "(%p): stub\n", lpOleUIEditLinks);
118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
119 return OLEUI_FALSE;
122 /***********************************************************************
123 * OleUIChangeIcon32A (OLEDLG.6)
125 UINT32 WINAPI OleUIChangeIcon32A(
126 LPOLEUICHANGEICON32A lpOleUIChangeIcon)
128 FIXME(ole, "(%p): stub\n", lpOleUIChangeIcon);
129 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
130 return OLEUI_FALSE;
133 /***********************************************************************
134 * OleUIChangeIcon32W (OLEDLG.16)
136 UINT32 WINAPI OleUIChangeIcon32W(
137 LPOLEUICHANGEICON32W lpOleUIChangeIcon)
139 FIXME(ole, "(%p): stub\n", lpOleUIChangeIcon);
140 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
141 return OLEUI_FALSE;
144 /***********************************************************************
145 * OleUIConvert32A (OLEDLG.7)
147 UINT32 WINAPI OleUIConvert32A(LPOLEUICONVERT32A lpOleUIConvert)
149 FIXME(ole, "(%p): stub\n", lpOleUIConvert);
150 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
151 return OLEUI_FALSE;
154 /***********************************************************************
155 * OleUIConvert32W (OLEDLG.18)
157 UINT32 WINAPI OleUIConvert32W(LPOLEUICONVERT32W lpOleUIConvert)
159 FIXME(ole, "(%p): stub\n", lpOleUIConvert);
160 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
161 return OLEUI_FALSE;
164 /***********************************************************************
165 * OleUIBusy32A (OLEDLG.8)
167 UINT32 WINAPI OleUIBusy32A(LPOLEUIBUSY32A lpOleUIBusy)
169 FIXME(ole, "(%p): stub\n", lpOleUIBusy);
170 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
171 return OLEUI_FALSE;
174 /***********************************************************************
175 * OleUIBusy32W (OLEDLG.15)
177 UINT32 WINAPI OleUIBusy32W(LPOLEUIBUSY32W lpOleUIBusy)
179 FIXME(ole, "(%p): stub\n", lpOleUIBusy);
180 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
181 return OLEUI_FALSE;
184 /***********************************************************************
185 * OleUIUpdateLinks32A (OLEDLG.9)
187 BOOL32 WINAPI OleUIUpdateLinks32A(
188 LPOLEUILINKCONTAINER32A lpOleUILinkCntr,
189 HWND32 hwndParent, LPSTR lpszTitle, INT32 cLinks)
191 FIXME(ole,"(%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 * OleUIUpdateLinks32W (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 BOOL32 WINAPI OleUIUpdateLinks32W(
205 LPOLEUILINKCONTAINER32W lpOleUILinkCntr,
206 HWND32 hwndParent, LPWSTR lpszTitle, INT32 cLinks)
208 FIXME(ole, "(%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 * OleUIPromptUser32A (OLEDLG.10)
218 INT32 __cdecl OleUIPromptUser32A(
219 INT32 nTemplate, HWND32 hwndParent, ...)
221 FIXME(ole, "(%d, 0x%08x, ...): stub\n", nTemplate, hwndParent);
222 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
223 return OLEUI_FALSE;
226 /***********************************************************************
227 * OleUIPromptUser32W (OLEDLG.13)
229 INT32 __cdecl OleUIPromptUser32W(
230 INT32 nTemplate, HWND32 hwndParent, ...)
232 FIXME(ole, "(%d, 0x%08x, ...): stub\n", nTemplate, hwndParent);
233 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
234 return OLEUI_FALSE;
237 /***********************************************************************
238 * OleUIObjectProperties32A (OLEDLG.11)
240 UINT32 WINAPI OleUIObjectProperties32A(
241 LPOLEUIOBJECTPROPS32A lpOleUIObjectProps)
243 FIXME(ole, "(%p): stub\n", lpOleUIObjectProps);
244 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
245 return OLEUI_FALSE;
248 /***********************************************************************
249 * OleUIObjectProperties32W (OLEDLG.21)
251 UINT32 WINAPI OleUIObjectProperties32W(
252 LPOLEUIOBJECTPROPS32W lpOleUIObjectProps)
254 FIXME(ole, "(%p): stub\n", lpOleUIObjectProps);
255 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
256 return OLEUI_FALSE;
259 /***********************************************************************
260 * OleUIChangeSource32A (OLEDLG.12)
262 UINT32 WINAPI OleUIChangeSource32A(
263 LPOLEUICHANGESOURCE32A lpOleUIChangeSource)
265 FIXME(ole, "(%p): stub\n", lpOleUIChangeSource);
266 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
267 return OLEUI_FALSE;
270 /***********************************************************************
271 * OleUIChangeSource32W (OLEDLG.17)
273 UINT32 WINAPI OleUIChangeSource32W(
274 LPOLEUICHANGESOURCE32W lpOleUIChangeSource)
276 FIXME(ole, "(%p): stub\n", lpOleUIChangeSource);
277 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
278 return OLEUI_FALSE;