async function win32_toggleEnabledDisplays(args) {
  return new Promise((resolve, reject) => {
    const ran = addon.win32_toggleEnabledDisplays(args, (_, errorCode) => {
      if (errorCode === 0) {
        resolve();
      } else {
        reject(new Win32Error(errorCode));
      }
    });
    if (!ran) {
      resolve();
    }
  });
}
Retrieves higher-level information from the Win32 API QueryDisplayConfig.

Unlike {@link queryDisplayConfig}, this function pulls all relevant information
about a device/mode pairing into a single object.

@returns {Promise<ExtractedDisplayConfig>} A Promise, resolving to display configuration information
  or rejecting with a {@link Win32Error} if something goes wrong.