It should be allowed to pass NULL handles in the phpage array of the
PROPSHEETHEADER structure to PropertySheet(), just ignore them.
This commit is contained in:
parent
42eff0f92b
commit
c9b7442689
|
@ -452,6 +452,9 @@ BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
|
||||||
DWORD dwFlags;
|
DWORD dwFlags;
|
||||||
int width, height;
|
int width, height;
|
||||||
|
|
||||||
|
if (!lppsp)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
TRACE("\n");
|
TRACE("\n");
|
||||||
psInfo->proppage[index].hpage = (HPROPSHEETPAGE)lppsp;
|
psInfo->proppage[index].hpage = (HPROPSHEETPAGE)lppsp;
|
||||||
psInfo->proppage[index].hwndPage = 0;
|
psInfo->proppage[index].hwndPage = 0;
|
||||||
|
|
Loading…
Reference in New Issue