oleaut32: Execute OleCreatePropertyFrameIndirect in OleCreatePropertyFrame.
Based on patch written by Geoffrey Hausheer.
This commit is contained in:
parent
b32c3102d2
commit
9c9baf4da1
|
@ -1,6 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 1999 Corel Corporation
|
* Copyright 1999 Corel Corporation
|
||||||
* Sean Langley
|
* Sean Langley
|
||||||
|
* Copyright 2010 Geoffrey Hausheer
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -44,8 +45,19 @@ HRESULT WINAPI OleCreatePropertyFrame(
|
||||||
LPUNKNOWN* ppUnk, ULONG cPages, LPCLSID pPageClsID, LCID lcid,
|
LPUNKNOWN* ppUnk, ULONG cPages, LPCLSID pPageClsID, LCID lcid,
|
||||||
DWORD dwReserved, LPVOID pvReserved)
|
DWORD dwReserved, LPVOID pvReserved)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%d,%d,%s,%d,%p,%d,%p,%x,%d,%p), not implemented (olepro32.dll)\n",
|
OCPFIPARAMS ocpf;
|
||||||
hwndOwner, x, y, debugstr_w(lpszCaption), cObjects, ppUnk, cPages,
|
|
||||||
pPageClsID, (int)lcid, dwReserved, pvReserved);
|
ocpf.cbStructSize = sizeof(OCPFIPARAMS);
|
||||||
return S_OK;
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue