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.

39 lines
873 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: message.h
  7. //
  8. // Contents: Helper functions for popup message boxes.
  9. //
  10. // Classes:
  11. //
  12. // Functions: MessageBoxFromStringIds
  13. //
  14. // History: 6-24-94 stevebl Created
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef __MESSAGE_H__
  18. #define __MESSAGE_H__
  19. #define MAX_STRING_LENGTH 256
  20. int MessageBoxFromStringIds(
  21. const HWND hwndOwner,
  22. const HINSTANCE hinst,
  23. const UINT idText,
  24. const UINT idTitle,
  25. const UINT fuStyle);
  26. int MessageBoxFromStringIdsAndArgs(
  27. const HWND hwndOwner,
  28. const HINSTANCE hinst,
  29. const UINT idText,
  30. const UINT idTitle,
  31. const UINT fuStyle,
  32. ...);
  33. #endif //__MESSAGE_H__