Available in LEADTOOLS Document and Medical Imaging toolkits.
L_AnnGetUserMode
L_AnnGetWnd
L_AnnSetUserMode
L_AnnSetWnd