class_docstr: Implements a 'write()' method which, on Windows, will strip ANSI character
  sequences from the text, and if outputting to a tty, will convert them into
  win32 function calls.
code: def get_win32_calls(self):
      if self.convert and winterm:
          return {
              AnsiStyle.RESET_ALL: (winterm.reset_all,),
              AnsiStyle.BRIGHT: (winterm.style, WinStyle.BRIGHT),
              AnsiStyle.DIM: (winterm.style, WinStyle.NORMAL),
              AnsiStyle.NORMAL: (winterm.style, WinStyle.NORMAL),
              AnsiFore.BLACK: (winterm.fore, WinColor.BLACK),
              AnsiFore.RED: (winterm.fore, WinColor.RED),
              AnsiFore.GREEN: (winterm.fore, WinColor.GREEN),
              AnsiFore.YELLOW: (winterm.fore, WinColor.YELLOW),
              AnsiFore.BLUE: (winterm.fore, WinColor.BLUE),
              AnsiFore.MAGENTA: (winterm.fore, WinColor.MAGENTA),
              AnsiFore.CYAN: (winterm.fore, WinColor.CYAN),
              AnsiFore.WHITE: (winterm.fore, WinColor.GREY),
              AnsiFore.RESET: (winterm.fore,),
              AnsiFore.LIGHTBLACK_EX: (
                  winterm.fore,
                  WinColor.BLACK,
                  True,
              ),
              AnsiFore.LIGHTRED_EX: (winterm.fore, WinColor.RED, True),
              AnsiFore.LIGHTGREEN_EX: (
                  winterm.fore,
                  WinColor.GREEN,
                  True,
              ),
              AnsiFore.LIGHTYELLOW_EX: (
                  winterm.fore,
                  WinColor.YELLOW,
                  True,
              ),
              AnsiFore.LIGHTBLUE_EX: (
                  winterm.fore,
                  WinColor.BLUE,
                  True,
              ),
              AnsiFore.LIGHTMAGENTA_EX: (
                  winterm.fore,
                  WinColor.MAGENTA,
                  True,
              ),
              AnsiFore.LIGHTCYAN_EX: (
                  winterm.fore,
                  WinColor.CYAN,
                  True,
              ),
              AnsiFore.LIGHTWHITE_EX: (
                  winterm.fore,
                  WinColor.GREY,
                  True,
              ),
              AnsiBack.BLACK: (winterm.back, WinColor.BLACK),
              AnsiBack.RED: (winterm.back, WinColor.RED),
              AnsiBack.GREEN: (winterm.back, WinColor.GREEN),
              AnsiBack.YELLOW: (winterm.back, WinColor.YELLOW),
              AnsiBack.BLUE: (winterm.back, WinColor.BLUE),
              AnsiBack.MAGENTA: (winterm.back, WinColor.MAGENTA),
              AnsiBack.CYAN: (winterm.back, WinColor.CYAN),
              AnsiBack.WHITE: (winterm.back, WinColor.GREY),
              AnsiBack.RESET: (winterm.back,),
              AnsiBack.LIGHTBLACK_EX: (
                  winterm.back,
                  WinColor.BLACK,
                  True,
              ),
              AnsiBack.LIGHTRED_EX: (winterm.back, WinColor.RED, True),
              AnsiBack.LIGHTGREEN_EX: (
                  winterm.back,
                  WinColor.GREEN,
                  True,
              ),
              AnsiBack.LIGHTYELLOW_EX: (
                  winterm.back,
                  WinColor.YELLOW,
                  True,
              ),
              AnsiBack.LIGHTBLUE_EX: (
                  winterm.back,
                  WinColor.BLUE,
                  True,
              ),
              AnsiBack.LIGHTMAGENTA_EX: (
                  winterm.back,
                  WinColor.MAGENTA,
                  True,
              ),
              AnsiBack.LIGHTCYAN_EX: (
                  winterm.back,
                  WinColor.CYAN,
                  True,
              ),
              AnsiBack.LIGHTWHITE_EX: (
                  winterm.back,
                  WinColor.GREY,
                  True,
              ),
          }
      return dict()
  
imports: import re
  import sys
  import os
  from .ansi import AnsiFore, AnsiBack, AnsiStyle, Style, BEL
  from .winterm import enable_vt_processing, WinTerm, WinColor, WinStyle
  from .win32 import windll, winapi_test
label_desc: Use image node_id 3 for calling the AnsiToWin32 obj's underlying member method code with example usage: obj.get_win32_calls() and returns: dict, dict