stack buffer overflow (BOF) on Windows is not too different from Linux BOFs in simple cases. However, Windows has its own mitigations.

Sample Windows process memory layout: