win32.base.messages.GetParentAPID

GetParentAPID is available since version 1.0.

Prototype:

number GetParentAPID()

Description:

Gets the parent application ID (if the application has a parent). The parent application is the one that called ClientShell on its CApplication handler.

Return value:

Returns the Application ID (APID) of the current process. Each application has a unique APID.