oleaut32: Execute OleCreatePropertyFrameIndirect in OleCreatePropertyFrame.
[wine.git] / dlls / oleaut32 / olepropframe.c
blob23bd9e0de3aec445aceda73148319295fd473b33
1 /*
2 * Copyright 1999 Corel Corporation
3 * Sean Langley
4 * Copyright 2010 Geoffrey Hausheer
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "wine/debug.h"
26 #include "ole2.h"
27 #include "olectl.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(ole);
31 /***********************************************************************
32 * OleCreatePropertyFrameIndirect (OLEAUT32.416)
34 HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams)
36 FIXME("(%p), not implemented (olepro32.dll)\n", lpParams);
37 return S_OK;
40 /***********************************************************************
41 * OleCreatePropertyFrame (OLEAUT32.417)
43 HRESULT WINAPI OleCreatePropertyFrame(
44 HWND hwndOwner, UINT x, UINT y, LPCOLESTR lpszCaption,ULONG cObjects,
45 LPUNKNOWN* ppUnk, ULONG cPages, LPCLSID pPageClsID, LCID lcid,
46 DWORD dwReserved, LPVOID pvReserved)
48 OCPFIPARAMS ocpf;
50 ocpf.cbStructSize = sizeof(OCPFIPARAMS);
51 ocpf.hWndOwner = hwndOwner;
52 ocpf.x = x;
53 ocpf.y = y;
54 ocpf.lpszCaption = lpszCaption;
55 ocpf.cObjects = cObjects;
56 ocpf.lplpUnk = ppUnk;
57 ocpf.cPages = cPages;
58 ocpf.lpPages = pPageClsID;
59 ocpf.lcid = lcid;
60 ocpf.dispidInitialProperty = 0;
62 return OleCreatePropertyFrameIndirect(&ocpf);