52.1 Creating an Authentication Hook

Write a standard DLL that exports a function called NWAPPAAuthenticateExtern.

The implementation is left up to you. If the function returns FALSE, the application does not launch (distribute or run), and the NWAPPAuthenticateExtern function must display the reason to the user.

None of the DLL parameters passed in should be larger than 512 bytes (as designated by MAX_DN_BYTES).

For sample code and a compellable Microsoft Developer Studio Project file you can use to help create the DLL, download nalauthhook.zip.