The NWAPPAuthenticateExtern function provides an external authentication hook into the zenlite.dll library.
#include <afxwin.h> bool __stdcall NWAPPAuthenticateExtern { char *szTreeName, char *DSName, char szWho }
(IN) Points to the name of the directory tree where the DLL is located on the client.
(IN) Points to the name of the application object provided to the user. For example, this application can request name and/or password or some other authentication method like a thumbprint for a biometric scanner.
(IN) Specifies the fully qualified user name.
TRUE |
Launch the application. |
FALSE |
Do not launch the application. |
The implementation of this function is left up to you. Values passed to NWAPPAuthenticateExtern that exceed MAX_DN_BYTES bytes (MAX_DN_BYTES = 512) overflow the buffer and return an access violation.
IMPORTANT:Make certain you export the function.