Apparently the windows API is different.  This appears to work in Windows.