Moved declaration to header file ...

... so that compiler detects interface changes in the windows enterprise
version of the function.

Also fixed typo.