Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Bubble Sort Demo - errori.h

errori.h

Caricato da: AldoBaldo
Scarica il programma completo

  1. #ifndef ERRORI_H_INCLUDED
  2. #define ERRORI_H_INCLUDED
  3.  
  4. #include "main.h"
  5.  
  6. // il XXIX bit e' impostato per gli errori specifici di
  7. // un'applicazione; non impostato per quelli di sistema
  8. CONST INT32 kErrProgramma = 0x10000000;
  9.  
  10. enum {
  11.     kErrNessunErrore, // zero
  12.     kErrLimMinErr = 0x10000000,
  13.  
  14.     kErrMemoriaInsufficiente,
  15.     kErrClasseNonRegistrata,
  16.     kErrSchermoPiccolo,
  17.     kErrFinestraNonCreata,
  18.     kErrOffscreenNonCreato,
  19.  
  20.     // aggiungi qui i tuoi codici di errore
  21.  
  22.     kErrLimMaxErr
  23. };
  24.  
  25. VOID Errore( INT32 codice, HWND genitrice );
  26. VOID Notifica( CONST CHAR *msg, HWND genitrice );
  27.  
  28. #endif // ERRORI_H_INCLUDED