DEFINITION MODULE Misc;

        (********************************************************)
        (*                                                      *)
        (*         Miscellaneous definitions for WSU use        *)
        (*                                                      *)
        (*  Programmer:         P. Moylan                       *)
        (*  Started:            4 July 1999                     *)
        (*  Last edited:        10 August 2018                  *)
        (*  Status:             OK                              *)
        (*                                                      *)
        (********************************************************)


FROM OS2 IMPORT
    (* type *)  HWND;

TYPE
    HostCategory = (local, whitelisted, mayrelay, relaydest, banned);


PROCEDURE WinSetDlgItemCard (hwnd: HWND;  idItem, value: CARDINAL);

    (* Sets a cardinal field in a dialogue. *)

PROCEDURE WinQueryDlgItemCard (hwnd: HWND;  idItem: CARDINAL;
                                 VAR (*OUT*) result: CARDINAL);

    (* Reads back the value in a cardinal field in a dialogue. *)

END Misc.

