C++
ACCORE_PORT int acedSSGetKwordCallbackPtr( struct resbuf* (**pFunc)(const ACHAR*) );
File
acedads.h
Description
Sets a pointer to the keyword callback function currently in use by AutoCAD.
The keyword callback function pointer within AutoCAD can only point to one callback function at a time. acedSSGetKwordCallbackPtr() 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 acedSSGetKwordCallbackPtr() to get and store a pointer to the current callback function.
- Use acedSSSetKwordCallbackPtr() to set AutoCAD to another callback function.
- When the other callback function is no longer needed, use acedSSSetKwordCallbackPtr() 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 acedSSGetKwordCallbackPtr(struct resbuf* (**pFunc)(const ACHAR*));