Any kernel mode exception (Blue Screen of Death) is caused by code running in mode.
And it's almost certainly not caused by Microsoft's own kernel code, but by a 3rd party driver that is also running in kernel mode.
The symptoms here suggest that the BSOD is almost certainly caused by a video card driver. I.e. a video mode switch, with 3D application (WPF) running. Your video card's driver wasn't expecting that, and it caused it to execute invalid code.
At the very least, you need to provide the stop error code, e.g.:
Stop: 0x00000050 (PAGE_FAULT_IN_NON_PAGED_AREA)
and the parameters that accompany the error code, e.g. in the case of
0x8872A990: The memory addressed referenced
0x00000001: 0=Read, 1=Write
0x804F35D7: The address that referenced the memory
for whatever your stop error is, e.g.:
Other than that:
- update your video card's drivers; hopefully they fixed the bug
- update your video card; if they didn't fix the bug then certainly another manufacturer won't have the bug
- ask the video card to do less video-card stuff e.g.
- turn off WPF (3D video card stuff)
- turn off video card acceleration (video card stuff)
- lower the resolution (video card stuff)