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.
The return value is the paragraph address or selector of the current PDB.