GetPenAppFlags

GetPenAppFlags returns the flags set by RegisterPenApp for the current task. It extends and replaces the functionality of the
version 1.0 function IsPenAware, which will not be supported in future versions of the Pen API.

Applications written specifically for Windows 95 and later versions
automatically get RPA_DEFAULT so that any edit controls created by such applications
automatically become pen-aware.

If the registration cache has been destroyed (which indicates PENWIN.DLL has
been unloaded), this function returns 0.