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.

39 lines
984 B

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. #ifndef __MSGDLGEXTERNS__
  3. #define __MSGDLGEXTERNS__
  4. #include "DeclSpec.h"
  5. // pick icon based on severity code.
  6. #define BASED_ON_HRESULT 0 // use with uType
  7. #define BASED_ON_SRC 0 // use with ERROR_SRC
  8. typedef enum {
  9. ConnectServer = 1,
  10. PutInstance = 2,
  11. GetSecurityDescriptor = 3,
  12. SetSecurityDescriptor = 4,
  13. } ERROR_SRC;
  14. POLARITY int DisplayUserMessage(HWND hWnd,
  15. HINSTANCE inst,
  16. UINT caption,
  17. UINT clientMsg,
  18. ERROR_SRC src,
  19. HRESULT sc,
  20. UINT uType = BASED_ON_HRESULT);
  21. POLARITY int DisplayUserMessage(HWND hWnd,
  22. LPCTSTR lpCaption,
  23. LPCTSTR lpClientMsg,
  24. ERROR_SRC src,
  25. HRESULT sc,
  26. UINT uType = BASED_ON_HRESULT);
  27. // NOTE: send WM_USER + 1 to make it go away.
  28. POLARITY INT_PTR DisplayAVIBox(HWND hWnd,
  29. LPCTSTR lpCaption,
  30. LPCTSTR lpClientMsg,
  31. HWND *boxHwnd);
  32. #endif __MSGDLGEXTERNS__