How to create WGL context for specific device

No. But I didn’t spend any time on that either. So I’m unfamiliar with if/how that would be done using pure WGL+Win GDI.

I haven’t been down that rabbit hole for ~5 years. But it’s not much fun. You end up being concerned about issues like Optimus, MUXes, iGPU passthrough, selected GPU, etc. Basically, which GPU renders your image vs. which GPU is actually scanning-out the image on the video output port (they’re not necessarily the same). Depending on the laptop and the mode, sometimes you can render directly on the NVIDIA and have the NVIDIA display the output. Or, the NVIDIA is just a dumb offscreen render GPU and the resulting image is forceably passed through the Intel GPU for display (because it owns the video output). Some laptops don’t have the hardware needed to support the former, and you’re forced to use the latter.

To your point about creating a context on a specific GPU (…on a laptop), laptops typically only have one high-performance GPU, so the Windows default GPU selection mechanism is usually fine. You just have to make sure “Prefer high performance GPU” is selected.

Oh, this one?

I’ll update your post above with a link to this for other readers.