PSM_IDTOINDEX message

Takes the resource ID of a property sheet page and returns its zero-based index. You can send this message explicitly or use the PropSheet_IdToIndex macro.

Parameters

wParam

Must be zero.

lParam

Resource ID of the page.

Return value

Returns the zero-based index of the property sheet page specified by lParam if successful. Otherwise, it returns -1.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Prsht.h