wine/ole/oledlg.c
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00

283 lines
8.2 KiB
C

/*
* OLEDLG library
*
* Copyright 1998 Patrik Stridvall
*/
#include "windows.h"
#include "wintypes.h"
#include "winerror.h"
#include "ole.h"
#include "oledlg.h"
#include "wine/obj_base.h"
#include "debug.h"
/***********************************************************************
* OleUIAddVerbMenu32A (OLEDLG.1)
*/
BOOL32 WINAPI OleUIAddVerbMenu32A(
LPOLEOBJECT lpOleObj, LPCSTR lpszShortType,
HMENU32 hMenu, UINT32 uPos, UINT32 uIDVerbMin, UINT32 uIDVerbMax,
BOOL32 bAddConvert, UINT32 idConvert, HMENU32 *lphMenu)
{
FIXME(ole, "(%p, %s, 0x%08x, %d, %d, %d, %d, %d, %p): stub\n",
lpOleObj, debugstr_a(lpszShortType),
hMenu, uPos, uIDVerbMin, uIDVerbMax,
bAddConvert, idConvert, lphMenu
);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* OleUIAddVerbMenu32W (OLEDLG.14)
*/
BOOL32 WINAPI OleUIAddVerbMenu32W(
LPOLEOBJECT lpOleObj, LPCWSTR lpszShortType,
HMENU32 hMenu, UINT32 uPos, UINT32 uIDVerbMin, UINT32 uIDVerbMax,
BOOL32 bAddConvert, UINT32 idConvert, HMENU32 *lphMenu)
{
FIXME(ole, "(%p, %s, 0x%08x, %d, %d, %d, %d, %d, %p): stub\n",
lpOleObj, debugstr_w(lpszShortType),
hMenu, uPos, uIDVerbMin, uIDVerbMax,
bAddConvert, idConvert, lphMenu
);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* OleUICanConvertOrActivateAs32 (OLEDLG.2)
*/
BOOL32 WINAPI OleUICanConvertOrActivateAs32(
REFCLSID rClsid, BOOL32 fIsLinkedObject, WORD wFormat)
{
FIXME(ole, "(%p, %d, %hd): stub\n",
rClsid, fIsLinkedObject, wFormat
);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* OleUIInsertObject32A (OLEDLG.3)
*/
UINT32 WINAPI OleUIInsertObject32A(LPOLEUIINSERTOBJECT32A lpOleUIInsertObject)
{
FIXME(ole, "(%p): stub\n", lpOleUIInsertObject);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIInsertObject32W (OLEDLG.20)
*/
UINT32 WINAPI OleUIInsertObject32W(LPOLEUIINSERTOBJECT32W lpOleUIInsertObject)
{
FIXME(ole, "(%p): stub\n", lpOleUIInsertObject);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIPasteSpecial32A (OLEDLG.4)
*/
UINT32 WINAPI OleUIPasteSpecial32A(LPOLEUIPASTESPECIAL32A lpOleUIPasteSpecial)
{
FIXME(ole, "(%p): stub\n", lpOleUIPasteSpecial);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIPasteSpecial32W (OLEDLG.22)
*/
UINT32 WINAPI OleUIPasteSpecial32W(LPOLEUIPASTESPECIAL32W lpOleUIPasteSpecial)
{
FIXME(ole, "(%p): stub\n", lpOleUIPasteSpecial);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIEditLinks32A (OLEDLG.5)
*/
UINT32 WINAPI OleUIEditLinks32A(LPOLEUIEDITLINKS32A lpOleUIEditLinks)
{
FIXME(ole, "(%p): stub\n", lpOleUIEditLinks);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIEditLinks32W (OLEDLG.19)
*/
UINT32 WINAPI OleUIEditLinks32W(LPOLEUIEDITLINKS32W lpOleUIEditLinks)
{
FIXME(ole, "(%p): stub\n", lpOleUIEditLinks);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIChangeIcon32A (OLEDLG.6)
*/
UINT32 WINAPI OleUIChangeIcon32A(
LPOLEUICHANGEICON32A lpOleUIChangeIcon)
{
FIXME(ole, "(%p): stub\n", lpOleUIChangeIcon);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIChangeIcon32W (OLEDLG.16)
*/
UINT32 WINAPI OleUIChangeIcon32W(
LPOLEUICHANGEICON32W lpOleUIChangeIcon)
{
FIXME(ole, "(%p): stub\n", lpOleUIChangeIcon);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIConvert32A (OLEDLG.7)
*/
UINT32 WINAPI OleUIConvert32A(LPOLEUICONVERT32A lpOleUIConvert)
{
FIXME(ole, "(%p): stub\n", lpOleUIConvert);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIConvert32W (OLEDLG.18)
*/
UINT32 WINAPI OleUIConvert32W(LPOLEUICONVERT32W lpOleUIConvert)
{
FIXME(ole, "(%p): stub\n", lpOleUIConvert);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIBusy32A (OLEDLG.8)
*/
UINT32 WINAPI OleUIBusy32A(LPOLEUIBUSY32A lpOleUIBusy)
{
FIXME(ole, "(%p): stub\n", lpOleUIBusy);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIBusy32W (OLEDLG.15)
*/
UINT32 WINAPI OleUIBusy32W(LPOLEUIBUSY32W lpOleUIBusy)
{
FIXME(ole, "(%p): stub\n", lpOleUIBusy);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIUpdateLinks32A (OLEDLG.9)
*/
BOOL32 WINAPI OleUIUpdateLinks32A(
LPOLEUILINKCONTAINER32A lpOleUILinkCntr,
HWND32 hwndParent, LPSTR lpszTitle, INT32 cLinks)
{
FIXME(ole,"(%p, 0x%08x, %s, %d): stub\n",
lpOleUILinkCntr, hwndParent, debugstr_a(lpszTitle), cLinks
);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* OleUIUpdateLinks32W (OLEDLG.?)
* FIXME
* I haven't been able to find the ordinal for this function,
* This means it can't be called from outside the DLL.
*/
BOOL32 WINAPI OleUIUpdateLinks32W(
LPOLEUILINKCONTAINER32W lpOleUILinkCntr,
HWND32 hwndParent, LPWSTR lpszTitle, INT32 cLinks)
{
FIXME(ole, "(%p, 0x%08x, %s, %d): stub\n",
lpOleUILinkCntr, hwndParent, debugstr_w(lpszTitle), cLinks
);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* OleUIPromptUser32A (OLEDLG.10)
*/
INT32 __cdecl OleUIPromptUser32A(
INT32 nTemplate, HWND32 hwndParent, ...)
{
FIXME(ole, "(%d, 0x%08x, ...): stub\n", nTemplate, hwndParent);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIPromptUser32W (OLEDLG.13)
*/
INT32 __cdecl OleUIPromptUser32W(
INT32 nTemplate, HWND32 hwndParent, ...)
{
FIXME(ole, "(%d, 0x%08x, ...): stub\n", nTemplate, hwndParent);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIObjectProperties32A (OLEDLG.11)
*/
UINT32 WINAPI OleUIObjectProperties32A(
LPOLEUIOBJECTPROPS32A lpOleUIObjectProps)
{
FIXME(ole, "(%p): stub\n", lpOleUIObjectProps);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIObjectProperties32W (OLEDLG.21)
*/
UINT32 WINAPI OleUIObjectProperties32W(
LPOLEUIOBJECTPROPS32W lpOleUIObjectProps)
{
FIXME(ole, "(%p): stub\n", lpOleUIObjectProps);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIChangeSource32A (OLEDLG.12)
*/
UINT32 WINAPI OleUIChangeSource32A(
LPOLEUICHANGESOURCE32A lpOleUIChangeSource)
{
FIXME(ole, "(%p): stub\n", lpOleUIChangeSource);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}
/***********************************************************************
* OleUIChangeSource32W (OLEDLG.17)
*/
UINT32 WINAPI OleUIChangeSource32W(
LPOLEUICHANGESOURCE32W lpOleUIChangeSource)
{
FIXME(ole, "(%p): stub\n", lpOleUIChangeSource);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return OLEUI_FALSE;
}