I'm currently wondering about the place that Windows (XP, Vista, 7) store information like "Windows is running" and so on. I mean, somehow Windows knows when you just power-down your computer that it was running before. The bootloader somehow also knows that there is a memory image in hiberfil.sys and not just empty garbarage.
I would guess its the registry, but where exactly?