pstore.h can be included instead of importing pstorec.dll. Patch from ted imminent. (http://msdn.microsoft.com/en-us/library/bb432323%28VS.85%29.aspx)
Specifically, this breaks compiling with Visual C++'s -MP flag, which bug 428532 intends to do. Patch is pretty trivial.
Created attachment 420760 [details] [diff] [review] use #include instead, fix a little bit of fallout This works for me. Just required a little bit of cleanup for some pointer type names that aren't explicitly defined in the header file.
Pushed to m-c: http://hg.mozilla.org/mozilla-central/rev/e7633625eabd