Stub #661, #662, #663, and #665. Implement #661 on Win32.