2 * PROJECT: Ports installer library
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: dll\win32\msports\serial.c
5 * PURPOSE: Serial Port property functions
6 * COPYRIGHT: Copyright 2011 Eric Kohl
11 WINE_DEFAULT_DEBUG_CHANNEL(msports
);
16 OnInitDialog(HWND hwnd
,
20 FIXME("Port_OnInit()\n");
28 SerialSettingsDlgProc(HWND hwnd
,
33 FIXME("SerialSettingsDlgProc()\n");
38 return OnInitDialog(hwnd
, wParam
, lParam
);
47 SerialPortPropPageProvider(PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest
,
48 LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc
,
51 PROPSHEETPAGEW PropSheetPage
;
52 HPROPSHEETPAGE hPropSheetPage
;
54 FIXME("SerialPortPropPageProvider(%p %p %lx)\n",
55 lpPropSheetPageRequest
, lpfnAddPropSheetPageProc
, lParam
);
57 if (lpPropSheetPageRequest
->PageRequested
== SPPSR_ENUM_ADV_DEVICE_PROPERTIES
)
59 FIXME("SPPSR_ENUM_ADV_DEVICE_PROPERTIES\n");
61 PropSheetPage
.dwSize
= sizeof(PROPSHEETPAGEW
);
62 PropSheetPage
.dwFlags
= 0;
63 PropSheetPage
.hInstance
= hInstance
;
64 PropSheetPage
.pszTemplate
= MAKEINTRESOURCE(IDD_SERIALSETTINGS
);
65 PropSheetPage
.pfnDlgProc
= SerialSettingsDlgProc
;
66 PropSheetPage
.lParam
= 0;
67 PropSheetPage
.pfnCallback
= NULL
;
69 hPropSheetPage
= CreatePropertySheetPageW(&PropSheetPage
);
70 if (hPropSheetPage
== NULL
)
72 FIXME("CreatePropertySheetPageW() failed!\n");
76 if (!(*lpfnAddPropSheetPageProc
)(hPropSheetPage
, lParam
))
78 FIXME("lpfnAddPropSheetPageProc() failed!\n");
79 DestroyPropertySheetPage(hPropSheetPage
);