2000-02-29 23:02:11 +01:00
|
|
|
/*
|
|
|
|
* OlePro32 Stubs
|
|
|
|
*
|
|
|
|
* Copyright 1999 Corel Corporation
|
|
|
|
*
|
|
|
|
* Sean Langley
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "windef.h"
|
2000-12-19 05:53:20 +01:00
|
|
|
#include "winbase.h"
|
2000-11-30 02:31:28 +01:00
|
|
|
#include "wingdi.h"
|
|
|
|
#include "winuser.h"
|
2000-02-29 23:02:11 +01:00
|
|
|
#include "debugtools.h"
|
2000-11-30 02:31:28 +01:00
|
|
|
#include "ole2.h"
|
2000-02-29 23:02:11 +01:00
|
|
|
#include "olectl.h"
|
2000-07-29 23:54:58 +02:00
|
|
|
#include "heap.h"
|
2000-02-29 23:02:11 +01:00
|
|
|
|
|
|
|
DEFAULT_DEBUG_CHANNEL(ole);
|
|
|
|
|
2000-04-06 22:21:16 +02:00
|
|
|
/***********************************************************************
|
2000-02-29 23:02:11 +01:00
|
|
|
* OleIconToCursor
|
|
|
|
*/
|
|
|
|
HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon)
|
|
|
|
{
|
|
|
|
FIXME("(%x,%x), not implemented (olepro32.dll)\n",hinstExe,hicon);
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2000-04-06 22:21:16 +02:00
|
|
|
/***********************************************************************
|
2000-02-29 23:02:11 +01:00
|
|
|
* OleCreatePropertyFrameIndirect
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams)
|
|
|
|
{
|
|
|
|
FIXME("(%p), not implemented (olepro32.dll)\n",lpParams);
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2000-04-06 22:21:16 +02:00
|
|
|
/***********************************************************************
|
2000-02-29 23:02:11 +01:00
|
|
|
* OleCreatePropertyFrame
|
|
|
|
*/
|
2000-07-29 23:54:58 +02:00
|
|
|
HRESULT WINAPI OleCreatePropertyFrame(
|
|
|
|
HWND hwndOwner, UINT x, UINT y, LPCOLESTR lpszCaption,ULONG cObjects,
|
|
|
|
LPUNKNOWN* ppUnk, ULONG cPages, LPCLSID pPageClsID, LCID lcid,
|
|
|
|
DWORD dwReserved, LPVOID pvReserved )
|
2000-02-29 23:02:11 +01:00
|
|
|
{
|
2000-07-29 23:54:58 +02:00
|
|
|
FIXME("(%x,%d,%d,%s,%ld,%p,%ld,%p,%x,%ld,%p), not implemented (olepro32.dll)\n",
|
|
|
|
hwndOwner,x,y,debugstr_w(lpszCaption),cObjects,ppUnk,cPages,
|
|
|
|
pPageClsID, (int)lcid,dwReserved,pvReserved);
|
2000-02-29 23:02:11 +01:00
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2000-07-29 23:54:58 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* LHashValOfNameSysA
|
|
|
|
*/
|
|
|
|
ULONG WINAPI LHashValOfNameSysA( SYSKIND skind, LCID lcid, LPCSTR str)
|
|
|
|
{
|
|
|
|
/* returns a 16 bit hashvalue (depending on skind and lcid) in the
|
|
|
|
* lowword and a unique id made from skind and lcid in bits 23-16
|
|
|
|
*/
|
|
|
|
FIXME("(%d,%x,%s), stub, returning 0x424242!\n",skind,(int)lcid,debugstr_a(str));
|
|
|
|
return 0x00424242;
|
|
|
|
}
|
|
|
|
/***********************************************************************
|
|
|
|
* LHashValOfNameSys
|
|
|
|
*/
|
|
|
|
ULONG WINAPI LHashValOfNameSys( SYSKIND skind, LCID lcid, LPCOLESTR str)
|
|
|
|
{
|
|
|
|
LPSTR strA;
|
|
|
|
ULONG res;
|
|
|
|
|
|
|
|
if (!str) return 0;
|
|
|
|
strA = HEAP_strdupWtoA(GetProcessHeap(),0,str);
|
|
|
|
res = LHashValOfNameSysA(skind,lcid,strA);
|
|
|
|
HeapFree(GetProcessHeap(),0,strA);
|
|
|
|
return res;
|
|
|
|
}
|