Error.h
Upload User: hxb_1234
Upload Date: 2010-03-30
Package Size: 8328k
Code Size: 0k
Development Platform:

Visual C++

  1. #ifndef _ERROR_H
  2. #define _ERROR_H
  3. #include <windows.h>
  4. typedef enum {
  5. MP_RESULT_OK,
  6. MP_RESULT_ERROR,
  7. } MP_RESULT;
  8. #define MP_ERROR(A) { 
  9. MessageBox(GetForegroundWindow(), A, "Error", MB_OK | MB_ICONEXCLAMATION); 
  10. }
  11. #endif