I want to
Write the current state of macOS to
/private/var/vm/sleepimageimmediately before shutting down
Power on my Mac again and boot into my Boot Camp Windows partition (by holding opt at boot) and do some tasks
Shut down and power on again (selecting macOS at boot) and load the saved state from my sleep image to resume EXACTLY as I left it after writing the image
How can I achieve this?
macOS 10.13.2 on a MacBook Pro 11,3 (Retina, 15-inch, Mid 2014)