Specifies whether a user can exit GroupWise. This command is typically called by a DDE client or cross-application macro. GroupWise cannot be closed if a macro is playing or if AppAllowClose is set to No! (See Allow parameter).
AFTKN_ALLOW_EXIT or 775
VOID AppAllowClose([ENUM Allow])
(Optional) If Allow is set to No!, you must set it to Yes! before ending the DDE conversation or cross-application macro. Otherwise, you will be able to exit GroupWise only through the Windows Task List.
AppClose() causes GroupWise to exit, unless AppAllowClose(No!) has previously been called. If you call AppAllowClose(Yes!), followed by AppClose(), the client should exit.