This example deletes the procedure identified by the procedure pointer returned from WinLoadProcedure.

#define INCL_WINLOAD            /* Window Load Functions        */
#include <os2.h>

BOOL    fSuccess;       /* success indicator                    */
PFNWP   pWndproc;       /* procedure pointer                    */
HAB     hab;            /* anchor-block handle                  */

fSuccess = WinDeleteProcedure(hab, pWndproc);


[Back] [Next]