This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method adds the Set Port Redirection page to the Settings notebook.
#define INCL_WINWORKPLACE #include <os2.h> WPSpool *somSelf; /* Pointer to the object on which the method is being invoked. */ HWND hwndNotebook; /* Window handle for the Settings notebook. */ ULONG rc; /* Page identifier. */ rc = _wpAddSetPortRedirPage(somSelf, hwndNotebook);