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
30 #include "wine/debug.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(ole
);
35 HINSTANCE OLEDLG_hInstance
= 0;
37 /***********************************************************************
40 BOOL WINAPI
DllMain(HINSTANCE hinstDLL
, DWORD fdwReason
, LPVOID fImpLoad
)
42 TRACE("%p 0x%lx %p\n", hinstDLL
, fdwReason
, fImpLoad
);
45 case DLL_PROCESS_ATTACH
:
46 DisableThreadLibraryCalls(hinstDLL
);
47 OLEDLG_hInstance
= hinstDLL
;
50 case DLL_PROCESS_DETACH
:
58 /***********************************************************************
59 * OleUIAddVerbMenuA (OLEDLG.1)
61 BOOL WINAPI
OleUIAddVerbMenuA(
62 LPOLEOBJECT lpOleObj
, LPCSTR lpszShortType
,
63 HMENU hMenu
, UINT uPos
, UINT uIDVerbMin
, UINT uIDVerbMax
,
64 BOOL bAddConvert
, UINT idConvert
, HMENU
*lphMenu
)
66 FIXME("(%p, %s, %p, %d, %d, %d, %d, %d, %p): stub\n",
67 lpOleObj
, debugstr_a(lpszShortType
),
68 hMenu
, uPos
, uIDVerbMin
, uIDVerbMax
,
69 bAddConvert
, idConvert
, lphMenu
71 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
75 /***********************************************************************
76 * OleUIAddVerbMenuW (OLEDLG.14)
78 BOOL WINAPI
OleUIAddVerbMenuW(
79 LPOLEOBJECT lpOleObj
, LPCWSTR lpszShortType
,
80 HMENU hMenu
, UINT uPos
, UINT uIDVerbMin
, UINT uIDVerbMax
,
81 BOOL bAddConvert
, UINT idConvert
, HMENU
*lphMenu
)
83 FIXME("(%p, %s, %p, %d, %d, %d, %d, %d, %p): stub\n",
84 lpOleObj
, debugstr_w(lpszShortType
),
85 hMenu
, uPos
, uIDVerbMin
, uIDVerbMax
,
86 bAddConvert
, idConvert
, lphMenu
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
92 /***********************************************************************
93 * OleUICanConvertOrActivateAs (OLEDLG.2)
95 BOOL WINAPI
OleUICanConvertOrActivateAs(
96 REFCLSID rClsid
, BOOL fIsLinkedObject
, WORD wFormat
)
98 FIXME("(%p, %d, %hd): stub\n",
99 rClsid
, fIsLinkedObject
, wFormat
101 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
105 /***********************************************************************
106 * OleUIInsertObjectW (OLEDLG.20)
108 UINT WINAPI
OleUIInsertObjectW(LPOLEUIINSERTOBJECTW lpOleUIInsertObject
)
110 FIXME("(%p): stub\n", lpOleUIInsertObject
);
111 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
115 /***********************************************************************
116 * OleUIPasteSpecialA (OLEDLG.4)
118 UINT WINAPI
OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial
)
120 FIXME("(%p): stub\n", lpOleUIPasteSpecial
);
121 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
125 /***********************************************************************
126 * OleUIPasteSpecialW (OLEDLG.22)
128 UINT WINAPI
OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial
)
130 FIXME("(%p): stub\n", lpOleUIPasteSpecial
);
131 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
135 /***********************************************************************
136 * OleUIEditLinksA (OLEDLG.5)
138 UINT WINAPI
OleUIEditLinksA(LPOLEUIEDITLINKSA lpOleUIEditLinks
)
140 FIXME("(%p): stub\n", lpOleUIEditLinks
);
141 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
145 /***********************************************************************
146 * OleUIEditLinksW (OLEDLG.19)
148 UINT WINAPI
OleUIEditLinksW(LPOLEUIEDITLINKSW lpOleUIEditLinks
)
150 FIXME("(%p): stub\n", lpOleUIEditLinks
);
151 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
155 /***********************************************************************
156 * OleUIChangeIconA (OLEDLG.6)
158 UINT WINAPI
OleUIChangeIconA(
159 LPOLEUICHANGEICONA lpOleUIChangeIcon
)
161 FIXME("(%p): stub\n", lpOleUIChangeIcon
);
162 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
166 /***********************************************************************
167 * OleUIChangeIconW (OLEDLG.16)
169 UINT WINAPI
OleUIChangeIconW(
170 LPOLEUICHANGEICONW lpOleUIChangeIcon
)
172 FIXME("(%p): stub\n", lpOleUIChangeIcon
);
173 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
177 /***********************************************************************
178 * OleUIConvertA (OLEDLG.7)
180 UINT WINAPI
OleUIConvertA(LPOLEUICONVERTA lpOleUIConvert
)
182 FIXME("(%p): stub\n", lpOleUIConvert
);
183 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
187 /***********************************************************************
188 * OleUIConvertW (OLEDLG.18)
190 UINT WINAPI
OleUIConvertW(LPOLEUICONVERTW lpOleUIConvert
)
192 FIXME("(%p): stub\n", lpOleUIConvert
);
193 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
197 /***********************************************************************
198 * OleUIBusyA (OLEDLG.8)
200 UINT WINAPI
OleUIBusyA(LPOLEUIBUSYA lpOleUIBusy
)
202 FIXME("(%p): stub\n", lpOleUIBusy
);
203 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
207 /***********************************************************************
208 * OleUIBusyW (OLEDLG.15)
210 UINT WINAPI
OleUIBusyW(LPOLEUIBUSYW lpOleUIBusy
)
212 FIXME("(%p): stub\n", lpOleUIBusy
);
213 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
217 /***********************************************************************
218 * OleUIUpdateLinksA (OLEDLG.9)
220 BOOL WINAPI
OleUIUpdateLinksA(
221 LPOLEUILINKCONTAINERA lpOleUILinkCntr
,
222 HWND hwndParent
, LPSTR lpszTitle
, INT cLinks
)
224 FIXME("(%p, %p, %s, %d): stub\n",
225 lpOleUILinkCntr
, hwndParent
, debugstr_a(lpszTitle
), cLinks
227 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
231 /***********************************************************************
232 * OleUIUpdateLinksW (OLEDLG.23)
234 BOOL WINAPI
OleUIUpdateLinksW(
235 LPOLEUILINKCONTAINERW lpOleUILinkCntr
,
236 HWND hwndParent
, LPWSTR lpszTitle
, INT cLinks
)
238 FIXME("(%p, %p, %s, %d): stub\n",
239 lpOleUILinkCntr
, hwndParent
, debugstr_w(lpszTitle
), cLinks
241 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
245 /***********************************************************************
246 * OleUIPromptUserA (OLEDLG.10)
248 INT __cdecl
OleUIPromptUserA(
249 INT nTemplate
, HWND hwndParent
, ...)
251 FIXME("(%d, %p, ...): stub\n", nTemplate
, hwndParent
);
252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
256 /***********************************************************************
257 * OleUIPromptUserW (OLEDLG.13)
259 INT __cdecl
OleUIPromptUserW(
260 INT nTemplate
, HWND hwndParent
, ...)
262 FIXME("(%d, %p, ...): stub\n", nTemplate
, hwndParent
);
263 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
267 /***********************************************************************
268 * OleUIObjectPropertiesA (OLEDLG.11)
270 UINT WINAPI
OleUIObjectPropertiesA(
271 LPOLEUIOBJECTPROPSA lpOleUIObjectProps
)
273 FIXME("(%p): stub\n", lpOleUIObjectProps
);
274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
278 /***********************************************************************
279 * OleUIObjectPropertiesW (OLEDLG.21)
281 UINT WINAPI
OleUIObjectPropertiesW(
282 LPOLEUIOBJECTPROPSW lpOleUIObjectProps
)
284 FIXME("(%p): stub\n", lpOleUIObjectProps
);
285 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
289 /***********************************************************************
290 * OleUIChangeSourceA (OLEDLG.12)
292 UINT WINAPI
OleUIChangeSourceA(
293 LPOLEUICHANGESOURCEA lpOleUIChangeSource
)
295 FIXME("(%p): stub\n", lpOleUIChangeSource
);
296 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
300 /***********************************************************************
301 * OleUIChangeSourceW (OLEDLG.17)
303 UINT WINAPI
OleUIChangeSourceW(
304 LPOLEUICHANGESOURCEW lpOleUIChangeSource
)
306 FIXME("(%p): stub\n", lpOleUIChangeSource
);
307 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);