Can someone please tell me how Windows OEM works with VMWare Fusion?

The OEM software links itself to your computer hardware, and I'm wondering how this works with VMW?

What happens when I want to reformat and reinstall OS X? Will my OEM copy still work with VMW once it's reinstalled?

thanks