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.

53 lines
1.3 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /**********************************************************************/
  5. /*
  6. util.hxx
  7. Utility functions used by the SFMMGR UI.
  8. 1) SetCaption method.
  9. FILE HISTORY:
  10. NarenG 27-Dec-1992 Created.
  11. */
  12. #ifndef _UTIL_HXX
  13. #define _UTIL_HXX
  14. /*******************************************************************
  15. NAME: :: SetCaption
  16. SYNOPSIS: Sets the dialog caption to "Foo on Server".
  17. ENTRY: powin - The dialog window.
  18. idCaption - Resource ID for the caption
  19. string (for example,
  20. "Open Resources on %1").
  21. pszServerName - The server name, if this is NULL
  22. it will be assumed that there is no
  23. insert string.
  24. EXIT: The caption is set.
  25. RETURNS: APIERR - Any error encountered.
  26. NOTES:
  27. HISTORY:
  28. NarenG 22-Sep-1992 Created.
  29. ********************************************************************/
  30. APIERR SetCaption( OWNER_WINDOW * powin,
  31. UINT idCaption,
  32. const TCHAR * pszServerName );
  33. #endif