GetPenAppFlags 

2.0     

GetPenAppFlags returns task pen flags cached by RegisterPenApp1AOD1_.

UINT GetPenAppFlags(  )

Return Value

GetPenAppFlags returns the flags set by RegisterPenApp for the current task. It extends and replaces the functionality of the version 1.0 function IsPenAware232HAK., 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.

See Also

RegisterPenApp