Purpose

WinHAPPfromPID returns the PM Application Handle (HAPP) from the process ID. If the proces ID is not a valid PM application, then 0 is returned.

Syntax

#define INCL_PMAPI
#include  os2.h>