Share

acedSSGetKwordCallbackPtr

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:

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

Was this information helpful?