|
#ifndef ERRORI_H_INCLUDED
#define ERRORI_H_INCLUDED
#include "main.h"
// il XXIX bit e' impostato per gli errori specifici di
// un'applicazione; non impostato per quelli di sistema
CONST INT32 kErrProgramma = 0x10000000;
enum {
kErrNessunErrore, // zero
kErrLimMinErr = 0x10000000,
kErrMemoriaInsufficiente,
kErrClasseNonRegistrata,
kErrSchermoPiccolo,
kErrFinestraNonCreata,
kErrOffscreenNonCreato,
// aggiungi qui i tuoi codici di errore
kErrLimMaxErr
};
VOID Errore( INT32 codice, HWND genitrice );
VOID Notifica( CONST CHAR *msg, HWND genitrice );
#endif // ERRORI_H_INCLUDED
|
|