Table of Contents Previous topic Next topic
The Extension Interface->Variant Specific Interface Calls->GetDptr()
extern "C" LONG GetDptr(LONG nExtensionState, WORD* pWord)
The extension should return zero if it does not want to handle this call. Otherwise it should return one, place the value of the active dptr in *pWord and carry out any other operations associated with a dptr read (usually nothing).
A separate call for a dptr read is used so that extensions for multiple dptr variants can distinguish between a read of dpl and dph and a read of the complete dptr.