Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
506 B

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. //
  3. // Generic callback mechanism
  4. //
  5. // 8-14-97 sburns
  6. #ifndef CALLBACK_HXX_INCLUDED
  7. #define CALLBACK_HXX_INCLUDED
  8. // abstract base class representing a callback function. To create
  9. // your own callback, subclass this class.
  10. class Callback
  11. {
  12. public:
  13. // returns a status code that may have meaning to the invoker.
  14. //
  15. // param - a user-defined value.
  16. virtual
  17. int
  18. Execute(void* param) = 0;
  19. };
  20. #endif // CALLBACK_HXX_INCLUDED