Leaked source code of windows server 2003
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.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: msgpopup.h
  8. //
  9. // Definitions and prototypes for MessageBox helper functions.
  10. //
  11. //--------------------------------------------------------------------------
  12. #ifndef _MSGPOPUP_H_
  13. #define _MSGPOPUP_H_
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. int
  18. WINAPIV
  19. MsgPopup(HWND hwnd, // Owner window
  20. LPCTSTR pszMsg, // May be resource ID
  21. LPCTSTR pszTitle, // May be resource ID or NULL
  22. UINT uType, // MessageBox flags
  23. HINSTANCE hInstance, // Resource strings loaded from here
  24. ...); // Arguments to insert into pszMsg
  25. int
  26. WINAPI
  27. SysMsgPopup(HWND hwnd,
  28. LPCTSTR pszMsg,
  29. LPCTSTR pszTitle,
  30. UINT uType,
  31. HINSTANCE hInstance,
  32. DWORD dwErrorID,
  33. LPCTSTR pszInsert2 = NULL);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif // _MSGPOPUP_H_