http://msdn.microsoft.com/en-us/library/1kt27hek.aspx
For longer strings, it also seems to return -1 instead of doing what the standard says.
http://msdn.microsoft.com/en-us/library/1kt27hek.aspx