home *** CD-ROM | disk | FTP | other *** search
- (*
- * BCERRTYP.PAS
- * $Header: $
- *
- * Description:
- * Defines the structures used in filling the Tree control.
- *
- * Notes:
- * <implementation notes go here>
- *
- ***********************************************************************
- *
- * Nu-Mega Technologies, Inc.
- * P.O. Box 7780
- * Nashua, NH 03060
- *
- * (c) Copyright 1994, 1995 Nu-Mega Technologies, Inc.
- * ALL RIGHTS RESERVED.
- *
- ***********************************************************************
- *
- **********************************************************************)
-
-
- type
- PERRFUNC = procedure ;
-
- (* The leaf node. *)
- ErrorOccurance = record
- (* The instance string ID. The tree control text. *)
- uiInstance : UINT ;
- (* The description of the error. *)
- uiDescription : UINT ;
- (* The function that does the error. *)
- pFunc : PERRFUNC ;
- end;
-
- (* The level 1 node. *)
- ErrorType = record
- (* The error string ID. The tree control text. *)
- uiError : UINT ;
- (* If true, then this is an error that BC Personal handles. *)
- bPersonalDoes : Boolean ;
- end;
-
- (* The root, or zero, node in the tree. *)
- ErrorCategory = record
- (* The category error ID, The tree control text. *)
- uiCategory : UINT ;
- (* The description of the error category. *)
- uiDescription : UINT ;
- end;
-
- (* The structure that is placed in the lparam info. *)
- LParamInfo = record
- (* 0 is ErrorCategory. (Root)
- 1 is ErrorType.
- 2 is ErrorOccurence. (Leaf) *)
-
- hModule : Longint;
- case iType : Integer of
-
- 0: ( stEC : ErrorCategory ) ;
- 1: ( stET : ErrorType ) ;
- 2: ( stEO : ErrorOccurance ) ;
- end;
-
- PLParamInfo = ^LParamInfo ;
-
-
-