DbgSetDebugPrintCallback

NTSTATUS __fastcall DbgSetDebugPrintCallback(VOID *a1, INT8 a2){
  if( !a1 )
    return -1073741811;
  if( a2 == 1 )
    return DbgpInsertDebugPrintCallback((unsigned __int64)a1);
  return DbgpRemoveDebugPrintCallback((_LIST_ENTRY *)a1);
}

Referenced by:

EtwpDisableKernelTrace