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