Can you post your complete code, include the discovery procedure?
The online docs are the most up-to-date, and we did recently clean up several problems in the sample code (including possibly the inconsistency you spotted, where the docs used Vix_INVALID_HANDLE -- this was a doc bug.)
Thanks for pointing out the case typo in the Simple docs -- that slipped by everyone til now.