Sweden-Number/dlls/oleaut32/olepropframe.c

64 lines
2.0 KiB
C
Raw Normal View History

/*
* Copyright 1999 Corel Corporation
* Sean Langley
* Copyright 2010 Geoffrey Hausheer
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
2000-11-30 02:31:28 +01:00
#include "ole2.h"
#include "olectl.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
/***********************************************************************
* OleCreatePropertyFrameIndirect (OLEAUT32.416)
*/
2010-09-27 12:00:19 +02:00
HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams)
{
2010-09-27 12:00:19 +02:00
FIXME("(%p), not implemented (olepro32.dll)\n", lpParams);
return S_OK;
}
2002-06-01 01:06:46 +02:00
/***********************************************************************
* OleCreatePropertyFrame (OLEAUT32.417)
*/
HRESULT WINAPI OleCreatePropertyFrame(
2010-09-27 12:00:19 +02:00
HWND hwndOwner, UINT x, UINT y, LPCOLESTR lpszCaption,ULONG cObjects,
LPUNKNOWN* ppUnk, ULONG cPages, LPCLSID pPageClsID, LCID lcid,
DWORD dwReserved, LPVOID pvReserved)
{
OCPFIPARAMS ocpf;
ocpf.cbStructSize = sizeof(OCPFIPARAMS);
ocpf.hWndOwner = hwndOwner;
ocpf.x = x;
ocpf.y = y;
ocpf.lpszCaption = lpszCaption;
ocpf.cObjects = cObjects;
ocpf.lplpUnk = ppUnk;
ocpf.cPages = cPages;
ocpf.lpPages = pPageClsID;
ocpf.lcid = lcid;
ocpf.dispidInitialProperty = 0;
return OleCreatePropertyFrameIndirect(&ocpf);
}