_plugin_unregistercallback

This plugin unregisters a previously set callback. It is only possible to remove callbacks that were previously set using _plugin_registercallback.

bool _plugin_unregistercallback( int pluginHandle, //plugin handle CBTYPE cbType //callback type to remove );

参数

pluginHandle:调用插件的句柄。
cbType:事件类型。这可以是以下任何值:
  • CB_INITDEBUG,
  • CB_STOPDEBUG,
  • CB_CREATEPROCESS,
  • CB_EXITPROCESS,
  • CB_CREATETHREAD,
  • CB_EXITTHREAD,
  • CB_SYSTEMBREAKPOINT,
  • CB_LOADDLL,
  • CB_UNLOADDLL,
  • CB_OUTPUTDEBUGSTRING,
  • CB_EXCEPTION,
  • CB_BREAKPOINT,
  • CB_PAUSEDEBUG,
  • CB_RESUMEDEBUG,
  • CB_STEPPED,
  • CB_ATTACH,
  • CB_DETACH,
  • CB_DEBUGEVENT,
  • CB_MENUENTRY,
  • CB_WINEVENT,
  • CB_WINEVENTGLOBAL

返回值

This function returns true when the callback was removed without problems.