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.

42 lines
1.0 KiB

  1. /*****************************************************************/
  2. /** Microsoft Windows for Workgroups **/
  3. /** Copyright (C) Microsoft Corp., 1991-1992 **/
  4. /*****************************************************************/
  5. /* NPMSG.H -- Definition of MsgBox subroutine.
  6. *
  7. * History:
  8. * 05/06/93 gregj Created
  9. * 10/07/93 gregj Added DisplayGenericError.
  10. */
  11. #ifndef _INC_NPMSG
  12. #define _INC_NPMSG
  13. class NLS_STR; /* forward declaration */
  14. #ifndef RC_INVOKED
  15. #pragma pack(1) /* Assume byte packing throughout */
  16. #endif /* !RC_INVOKED */
  17. #ifdef __cplusplus
  18. extern "C" { /* Assume C declarations for C++ */
  19. #endif /* __cplusplus */
  20. #define IDS_MSGTITLE 1024
  21. extern int MsgBox( HWND hwndDlg, UINT idMsg, UINT wFlags, const NLS_STR **apnls = NULL );
  22. extern UINT DisplayGenericError(HWND hwnd, UINT msg, UINT err, LPCSTR psz1, LPCSTR psz2, WORD wFlags, UINT nMsgBase);
  23. #ifndef RC_INVOKED
  24. #pragma pack()
  25. #endif
  26. #ifdef __cplusplus
  27. }
  28. #endif /* __cplusplus */
  29. #endif /* _INC_NPMSG */