Share

acedSSGetOtherCallbackPtr

C++

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 currentt callback function.
  1. Use acedSSSetOtherCallbackPtr() to set AutoCAD to another callback function.
  1. 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.

This function always returns RTNORM.

Was this information helpful?