Share

acedSSGetOtherCallbackPtr

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:

  1. Use acedSSGetOtherCallbackPtr() to get and store a pointer to the current callback function.
  2. Use acedSSSetOtherCallbackPtr() to set AutoCAD to another callback function.
  3. 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*));

Was this information helpful?