25#define NONAMELESSUNION
59 IPropertyPage_Activate(property_page,
hwnd, &
rect,
TRUE);
60 IPropertyPage_Show(property_page,
SW_SHOW);
66 IPropertyPage_Show(property_page,
SW_HIDE);
67 IPropertyPage_Deactivate(property_page);
123 TRACE(
"(%p, %p)\n", iface, pLocaleID);
124 *pLocaleID = this->lcid;
131 FIXME(
"(%p, %p)\n", iface, ppUnk);
138 FIXME(
"(%p, %p)\n", iface, pMsg);
157 static const WCHAR comctlW[] = {
'c',
'o',
'm',
'c',
't',
'l',
'3',
'2',
'.',
'd',
'l',
'l',0 };
172 HRSRC property_sheet_dialog_find =
NULL;
174 WCHAR *property_sheet_dialog_data =
NULL;
193 WARN(
"incorrect structure size\n");
198 FIXME(
"dispidInitialProperty not yet implemented\n");
205 if(property_sheet_dialog_find)
206 property_sheet_dialog_load =
LoadResource(hcomctl, property_sheet_dialog_find);
207 if(property_sheet_dialog_load)
208 property_sheet_dialog_data =
LockResource(property_sheet_dialog_load);
210 if(property_sheet_dialog_data) {
211 if(property_sheet_dialog_data[1] == 0xffff) {
212 ERR(
"Expected DLGTEMPLATE structure\n");
219 property_sheet_dialog_data +=
lstrlenW(property_sheet_dialog_data)+1;
220 property_sheet_dialog_data +=
lstrlenW(property_sheet_dialog_data)+1;
221 property_sheet_dialog_data +=
lstrlenW(property_sheet_dialog_data)+1;
242 memset(&property_sheet, 0,
sizeof(property_sheet));
243 property_sheet.
dwSize =
sizeof(property_sheet);
254 lpParams->
cPages*
sizeof(*dialogs));
255 if(!property_sheet.u3.
phpage || !property_page || !dialogs) {
268 PROPPAGEINFO page_info;
276 if(!property_page_site)
279 property_page_site->
ref = 1;
280 property_page_site->
lcid = lpParams->
lcid;
282 res = IPropertyPage_SetPageSite(property_page[
i],
288 res = IPropertyPage_SetObjects(property_page[
i],
291 WARN(
"SetObjects() failed, hr %#x.\n",
res);
293 res = IPropertyPage_GetPageInfo(property_page[
i], &page_info);
297 dialogs[
i].template.cx =
MulDiv(page_info.size.cx, 4, font_width);
300 property_sheet_page.u.
pResource = &dialogs[
i].template;
302 property_sheet_page.
pszTitle = page_info.pszTitle;
312 IPropertyPage_Release(property_page[
i]);
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW lpPropSheetPage)
INT_PTR WINAPI PropertySheetW(LPCPROPSHEETHEADERW lppsh)
#define HeapFree(x, y, z)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define memcpy(s1, s2, n)
static LPCSTR DWORD void * pvReserved
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static int font_height(HFONT hFont)
struct _PSP * HPROPSHEETPAGE
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
struct tagOCPFIPARAMS OCPFIPARAMS
const GUID IID_IPropertyPageSite
const GUID IID_IPropertyPage
static HRESULT WINAPI PropertyPageSite_TranslateAccelerator(IPropertyPageSite *iface, MSG *pMsg)
static HRESULT WINAPI PropertyPageSite_QueryInterface(IPropertyPageSite *iface, REFIID riid, void **ppv)
static INT_PTR CALLBACK property_sheet_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
static HRESULT WINAPI PropertyPageSite_GetPageContainer(IPropertyPageSite *iface, IUnknown **ppUnk)
static ULONG WINAPI PropertyPageSite_AddRef(IPropertyPageSite *iface)
static HRESULT WINAPI PropertyPageSite_OnStatusChange(IPropertyPageSite *iface, DWORD dwFlags)
static IPropertyPageSiteVtbl PropertyPageSiteVtbl
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)
static ULONG WINAPI PropertyPageSite_Release(IPropertyPageSite *iface)
HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams)
static HRESULT WINAPI PropertyPageSite_GetLocaleID(IPropertyPageSite *iface, LCID *pLocaleID)
static PropertyPageSite * impl_from_IPropertyPageSite(IPropertyPageSite *iface)
struct _PROPSHEETPAGEW PROPSHEETPAGEW
#define IsEqualGUID(rguid1, rguid2)
WCHAR lfFaceName[LF_FACESIZE]
IPropertyPageSite IPropertyPageSite_iface
DISPID dispidInitialProperty
TW_UINT32 TW_UINT16 TW_UINT16 MSG
#define CONTAINING_RECORD(address, type, field)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
LONG WINAPI GdiGetCharDimensions(HDC, LPTEXTMETRICW, LONG *)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HFONT WINAPI CreateFontIndirectW(_In_ const LOGFONTW *)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
#define GetWindowLongPtrW
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HDC WINAPI GetDC(_In_opt_ HWND)
#define MAKEINTRESOURCEW(i)
#define SetWindowLongPtrW