The ExtensionPropSheetPageProc function specifies an application-defined callback function that receives the address of the AddPropSheetPageProc function, which resides in the module that creates a property sheet. A property sheet extension must export the ExtensionPropSheetPageProc function.
BOOL CALLBACK ExtensionPropSheetPageProc(
LPVOID lpv, | |
LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, | |
LPARAM lParam | |
); |
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.