C++
ACCORE_PORT int acedSSGetOtherCallbackPtr( struct resbuf* (**pFunc)(const ACHAR*) );
File
acedads.h
Description
Sets a pointer to the "other" current callback function currently in use by AutoCAD.
The "other" keyword callback function pointer within AutoCAD can only point to one callback function at a time. acedSSGetOtherCallbackPtr() can be used to preserve another callback function pointer while AutoCAD's keyword callback function pointer is temporarily reset to another function.
In this process:
- Use acedSSGetOtherCallbackPtr() to get and store a pointer to the current callback function.
- Use acedSSSetOtherCallbackPtr() to set AutoCAD to another callback function.
- When the other callback function is no longer needed, use acedSSSetOtherCallbackPtr() with the original function pointer to restore AutoCAD's use of the original callback function.
Returns
RTNORM is always returned.
Previous Declaration
AutoCAD 2025 and Earlier
int acedSSGetOtherCallbackPtr(struct resbuf* (**pFunc)(const ACHAR*));