MSDN says that if you pass a value of 1 to EM_LINEFROMCHAR, it will return the value of the current line. But then how do you actually get character 1's line? I think they meant -1, since that's Aurora's default, but I'm just confirming.
Yes it is -1. You found one of Microsoft's many typos.