GetCurrentPDB

Version 3.0

Syntax

WORD GetCurrentPDB()

This function returns the paragraph address or selector of the current DOS Program Data Base (PDB), also known as the Program Segment Prefix (PSP).

This function has no parameters.

Return Value

The return value is the paragraph address or selector of the current PDB.