Commit 194bd052 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Moved some stubs and added forwards in order to make both winapi_check

and checklink happy.
parent 1deeeef1
......@@ -16,6 +16,7 @@ C_SRCS = \
olefont.c \
parsedt.c \
safearray.c \
stubs.c \
typelib.c \
variant.c
......
......@@ -280,11 +280,11 @@ type win32
412 stdcall SafeArrayCopyData(ptr ptr) SafeArrayCopyData
413 stub VectorFromBstr
414 stub BstrFromVector
415 stub OleIconToCursor
416 stub OleCreatePropertyFrameIndirect
417 stub OleCreatePropertyFrame
418 stub OleLoadPicture
419 stub OleCreatePictureIndirect
415 stdcall OleIconToCursor(long long) OleIconToCursor
416 stdcall OleCreatePropertyFrameIndirect(ptr) OleCreatePropertyFrameIndirect
417 stdcall OleCreatePropertyFrame(ptr long long ptr long ptr long ptr ptr long ptr) OleCreatePropertyFrame
418 stdcall OleLoadPicture(ptr long long ptr ptr) OleLoadPicture
419 stdcall OleCreatePictureIndirect(ptr ptr long ptr) OleCreatePictureIndirect
420 stdcall OleCreateFontIndirect(ptr ptr ptr) OleCreateFontIndirect
421 stdcall OleTranslateColor(long long long) OleTranslateColor
422 stub OleLoadPictureFile
......
/*
* OlePro32 Stubs
*
* Copyright 1999 Corel Corporation
*
* Sean Langley
*/
#include "windef.h"
#include "debugtools.h"
#include "olectl.h"
DEFAULT_DEBUG_CHANNEL(ole);
/*****************************************************
* OleIconToCursor
*/
HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon)
{
FIXME("(%x,%x), not implemented (olepro32.dll)\n",hinstExe,hicon);
return S_OK;
}
/*****************************************************
* OleCreatePropertyFrameIndirect
*/
HRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams)
{
FIXME("(%p), not implemented (olepro32.dll)\n",lpParams);
return S_OK;
}
/*****************************************************
* OleCreatePropertyFrame
*/
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 )
{
FIXME("(%x,%d,%d,%p,%ld,%p,%ld,%p,%x,%ld,%p), not implemented (olepro32.dll)\n",
hwndOwner,x,y,lpszCaption,cObjects,ppUnk,cPages,pPageClsID,
(int)lcid,dwReserved,pvReserved);
return S_OK;
}
/*****************************************************
* OleLoadPicture
*/
HRESULT WINAPI OleLoadPicture( LPSTREAM lpstream, LONG lSize, BOOL fRunmode,
REFIID reed, LPVOID *lplpvObj )
{
FIXME("(%p,%ld,%d,%p,%p), not implemented (olepro32.dll) \n",
lpstream,lSize,fRunmode,reed,lplpvObj
);
return S_OK;
}
/*****************************************************
* OleCreatePictureIndirect
*/
HRESULT WINAPI OleCreatePictureIndirect(LPPICTDESC lpPictDesc, REFIID riid,
BOOL fOwn, LPVOID * lplpvObj )
{
FIXME("(%p,%p,%d,%p), not implemented (olepro32.dll)\n",
lpPictDesc,riid,fOwn,lplpvObj
);
return S_OK;
}
name olepro32
type win32
@ stdcall OleIconToCursor( ptr ptr) OleIconToCursor
@ stdcall OleCreatePropertyFrameIndirect( ptr ) OleCreatePropertyFrameIndirect
@ stdcall OleCreatePropertyFrame( ptr long long ptr long ptr long ptr ptr long ptr ) OleCreatePropertyFrame
@ stdcall OleLoadPicture( ptr long long ptr ptr ) OleLoadPicture
@ stdcall OleCreatePictureIndirect( ptr ptr long ptr ) OleCreatePictureIndirect
@ stdcall OleCreateFontIndirect( ptr ptr ptr ) OleCreateFontIndirect
@ stdcall OleTranslateColor( long ptr ptr ) OleTranslateColor
import oleaut32.dll
@ forward OleIconToCursor OLEAUT32.OleIconToCursor
@ forward OleCreatePropertyFrameIndirect OLEAUT32.OleCreatePropertyFrameIndirect
@ forward OleCreatePropertyFrame OLEAUT32.OleCreatePropertyFrame
@ forward OleLoadPicture OLEAUT32.OleLoadPicture
@ forward OleCreatePictureIndirect OLEAUT32.OleCreatePictureIndirect
@ forward OleCreateFontIndirect OLEAUT32.OleCreateFontIndirect
@ forward OleTranslateColor OLEAUT32.OleTranslateColor
@ stdcall DllCanUnloadNow() OLEPRO32_DllCanUnloadNow
@ stdcall DllGetClassObjecti( ptr ptr ptr ) OLEPRO32_DllGetClassObject
@ stdcall DllRegisterServer() OLEPRO32_DllRegisterServer
......
......@@ -6,67 +6,11 @@
* Sean Langley
*/
#include "windef.h"
#include "debugtools.h"
#include "olectl.h"
DEFAULT_DEBUG_CHANNEL(ole)
/*****************************************************
* OleIconToCursor
*/
HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon)
{
FIXME("(%x,%x), not implemented (olepro32.dll)\n",hinstExe,hicon);
return S_OK;
}
/*****************************************************
* OleCreatePropertyFrameIndirect
*/
HRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams)
{
FIXME("(%p), not implemented (olepro32.dll)\n",lpParams);
return S_OK;
}
/*****************************************************
* OleCreatePropertyFrame
*/
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 )
{
FIXME("(%x,%d,%d,%p,%ld,%p,%ld,%p,%x,%ld,%p), not implemented (olepro32.dll)\n",
hwndOwner,x,y,lpszCaption,cObjects,ppUnk,cPages,pPageClsID,
(int)lcid,dwReserved,pvReserved);
return S_OK;
}
/*****************************************************
* OleLoadPicture
*/
HRESULT WINAPI OleLoadPicture( LPSTREAM lpstream, LONG lSize, BOOL fRunmode,
REFIID reed, LPVOID *lplpvObj )
{
FIXME("(%p,%ld,%d,%p,%p), not implemented (olepro32.dll) \n",
lpstream,lSize,fRunmode,reed,lplpvObj
);
return S_OK;
}
#include "ole2.h"
#include "windef.h"
/*****************************************************
* OleCreatePictureIndirect
*/
HRESULT WINAPI OleCreatePictureIndirect(LPPICTDESC lpPictDesc, REFIID riid,
BOOL fOwn, LPVOID * lplpvObj )
{
FIXME("(%p,%p,%d,%p), not implemented (olepro32.dll)\n",
lpPictDesc,riid,fOwn,lplpvObj
);
return S_OK;
}
DEFAULT_DEBUG_CHANNEL(ole);
HRESULT WINAPI OLEPRO32_DllUnregisterServer()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment